summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/exit.go b/exit.go
index b718a94..5c8047d 100644
--- a/exit.go
+++ b/exit.go
@@ -13,7 +13,7 @@ import (
func (pb *Auto) GoodExit(msg string) {
dur := time.Since(pb.Ctime.AsTime())
log.Infof("%s: %s (%s)\n", pb.Argname, msg, shell.FormatDuration(dur))
- os.Exit(-1)
+ os.Exit(0)
}
func (pb *Auto) BadExit(msg string, err error) {