summaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
Diffstat (limited to 'init_dir.go')
-rw-r--r--init_dir.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/init_dir.go b/init_dir.go
index 1f91e7b..c12a8dc 100644
--- a/init_dir.go
+++ b/init_dir.go
@@ -66,6 +66,9 @@ func initDir(args *argContainer) {
// keep the absolute path.
friendlyPath = args.cipherdir
}
+ if strings.Contains(friendlyPath, " ") {
+ friendlyPath = "\"" + friendlyPath + "\""
+ }
tlog.Info.Printf(tlog.ColorGrey+"You can now mount it using: %s%s %s MOUNTPOINT"+tlog.ColorReset,
tlog.ProgramName, mountArgs, friendlyPath)
os.Exit(0)