summaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-04-01 12:12:47 +0200
committerJakob Unterwurzacher2018-04-01 12:13:32 +0200
commit5da5e467a6c92a658b00e2f6a94ed03a6fcd3bf0 (patch)
treec321fa8fa42a19c17dd477c9b5d10a3732e22a93 /init_dir.go
parent1a3d04ab87c0f8ea281f47547f3cfeda50c7609a (diff)
main: pull regular exits into main function
The replaces the "does not return" comments with an explicit os.Exit, which is unambigous.
Diffstat (limited to 'init_dir.go')
-rw-r--r--init_dir.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/init_dir.go b/init_dir.go
index ea902ec..16ece1a 100644
--- a/init_dir.go
+++ b/init_dir.go
@@ -79,5 +79,4 @@ func initDir(args *argContainer) {
}
tlog.Info.Printf(tlog.ColorGrey+"You can now mount it using: %s%s %s MOUNTPOINT"+tlog.ColorReset,
tlog.ProgramName, mountArgs, friendlyPath)
- os.Exit(0)
}