summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/exit.go b/exit.go
index 5ddbcf6..43051d4 100644
--- a/exit.go
+++ b/exit.go
@@ -7,7 +7,9 @@ import (
)
func okExit(thing string) {
- log.Info(thing, "ok")
+ if thing != "" {
+ log.Info(thing, "ok")
+ }
// log.Info("Finished go-clean on", check.GetGoPath(), "ok")
os.Exit(0)
}