Commit 5591fd3e authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Small code simplification

parent 759be7fb
......@@ -289,10 +289,7 @@ func productionMode() bool {
return true
}
val := strings.ToLower(os.Args[i+1])
if val == "1" || val == "true" || val == "yes" || val == "t" {
return true
}
return false
return val == "1" || val == "true" || val == "yes" || val == "t"
}
}
return false
......
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