# HG changeset patch # User Paul Fisher # Date 1445740447 14400 # Node ID a4fa4f28b4726764fab4680e42197aec721e32e1 # Parent faf4aad86fc9ae935d6e8ca7b3915f5821723a84 Actually shave off last character of password description. diff -r faf4aad86fc9 -r a4fa4f28b472 multipass-add.go --- a/multipass-add.go Sat Oct 24 21:48:38 2015 -0400 +++ b/multipass-add.go Sat Oct 24 22:34:07 2015 -0400 @@ -20,7 +20,7 @@ fmt.Println(err.Error()) return } - text = text[:-1] + text = text[:len(text)-1] entry, password, err := auth.NewEntry(text) if err != nil { fmt.Println(err.Error())