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 5939598..19fabcf 100644
--- a/init_dir.go
+++ b/init_dir.go
@@ -63,7 +63,7 @@ func initDir(args *argContainer) {
err = isEmptyDir(args.cipherdir)
if err != nil {
tlog.Fatal.Printf("Invalid cipherdir: %v", err)
- os.Exit(exitcodes.Init)
+ os.Exit(exitcodes.CipherDir)
}
}
// Choose password for config file