main: get rid of duplicate "extpass" message

$ gocryptfs -init -extpass "echo test" a
Using password provided via -extpass.   <<< DUPLICATE
Reading password from extpass program
The gocryptfs filesystem has been created successfully.
You can now mount it using: gocryptfs a MOUNTPOINT
This commit is contained in:
Jakob Unterwurzacher 2016-09-28 20:47:01 +02:00
parent 4b934f1a72
commit 35fb6583e6

View File

@ -34,8 +34,6 @@ func initDir(args *argContainer) {
// Choose password for config file // Choose password for config file
if args.extpass == "" { if args.extpass == "" {
tlog.Info.Printf("Choose a password for protecting your files.") tlog.Info.Printf("Choose a password for protecting your files.")
} else {
tlog.Info.Printf("Using password provided via -extpass.")
} }
password := readpassword.Twice(args.extpass) password := readpassword.Twice(args.extpass)
creator := tlog.ProgramName + " " + GitVersion creator := tlog.ProgramName + " " + GitVersion