summaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
Diffstat (limited to 'init_dir.go')
-rw-r--r--init_dir.go2
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.")
}
{