Commit 5cd5fa4b authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Lint some code

parent c2cbb91b
......@@ -153,9 +153,8 @@ func findConfigFile(arg string) (handle *os.File, err error) {
_, err = os.Stat(files[0])
if err == nil {
return files[0]
} else {
log.Printf("Error opening: %s", err)
}
log.Printf("Error opening: %s", err)
}
return ""
}
......@@ -177,9 +176,8 @@ func findConfigFile(arg string) (handle *os.File, err error) {
_, err = os.Stat(*configFile)
if err == nil {
return *configFile
} else {
log.Printf("Error opening: %s", err)
}
log.Printf("Error opening: %s", err)
}
var home, cwd string
......
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