diff options
author | Jakob Unterwurzacher | 2021-08-09 22:50:24 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-09 22:50:24 +0200 |
commit | b67c678b10f3b7cf6c61c7808831876c03467ebf (patch) | |
tree | 059a6b842295ca10b876bc7ea148241212f0591f /init_dir.go | |
parent | c3c9513e6504276698ed1f50a259d4333476acf8 (diff) |
WIP: switch from go stdlib `flag` to `flaggy`flaggy
Diffstat (limited to 'init_dir.go')
-rw-r--r-- | init_dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init_dir.go b/init_dir.go index 68268a0..54a44e4 100644 --- a/init_dir.go +++ b/init_dir.go @@ -69,7 +69,7 @@ func initDir(args *argContainer) { } } // Choose password for config file - if args.extpass.Empty() && args.fido2 == "" { + if len(args.extpass) == 0 && args.fido2 == "" { tlog.Info.Printf("Choose a password for protecting your files.") } { |