diff multipass-add.go @ 1:faf4aad86fc9

Make checkpassword work; fix minor bug in add.
author Paul Fisher <paul@pfish.zone>
date Sat, 24 Oct 2015 21:48:38 -0400
parents c18bc7b9d1d9
children a4fa4f28b472
line wrap: on
line diff
--- a/multipass-add.go	Sat Oct 24 21:32:03 2015 -0400
+++ b/multipass-add.go	Sat Oct 24 21:48:38 2015 -0400
@@ -20,6 +20,7 @@
 		fmt.Println(err.Error())
 		return
 	}
+	text = text[:-1]
 	entry, password, err := auth.NewEntry(text)
 	if err != nil {
 		fmt.Println(err.Error())