From 5da5e467a6c92a658b00e2f6a94ed03a6fcd3bf0 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 1 Apr 2018 12:12:47 +0200 Subject: main: pull regular exits into main function The replaces the "does not return" comments with an explicit os.Exit, which is unambigous. --- init_dir.go | 1 - 1 file changed, 1 deletion(-) (limited to 'init_dir.go') 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) } -- cgit v1.2.3