Commit 5589150f authored by Erick Hitter's avatar Erick Hitter

Tidy

parent 773b373d
Pipeline #178 passed with stages
in 6 minutes and 37 seconds
...@@ -46,8 +46,7 @@ func init() { ...@@ -46,8 +46,7 @@ func init() {
flag.StringVar(&configPath, "config", "./config.json", "Path to configuration file") flag.StringVar(&configPath, "config", "./config.json", "Path to configuration file")
flag.Parse() flag.Parse()
cfgPathValid := validatePath(&configPath) if !validatePath(&configPath) {
if !cfgPathValid {
usage() usage()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment