diff --git a/sshpiperd/sshpiperd.go b/sshpiperd/sshpiperd.go index 8863f53c..098e6634 100644 --- a/sshpiperd/sshpiperd.go +++ b/sshpiperd/sshpiperd.go @@ -27,19 +27,18 @@ func showHelpOrVersion() { } if config.ShowVersion { - showVersion() os.Exit(0) } } func main() { - - showHelpOrVersion() - - showVersion() initConfig() initTemplate() initLogger() + + showVersion() + showHelpOrVersion() + showConfig() // TODO make this pluggable