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:
parent
4b934f1a72
commit
35fb6583e6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user