summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 17:37:47 -0500
committerJeff Carr <[email protected]>2025-10-04 17:37:47 -0500
commitcd1ff76663854cc8710e8c14990fb9b57c5e7b3f (patch)
tree74b39e5bd6cfbe779874bae3b7cef51f583e6de2
parent252f05877cb76ced8c6d3d5c989a528e3087da6c (diff)
-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) {