summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 09:51:42 -0500
committerJeff Carr <[email protected]>2025-10-16 09:51:42 -0500
commitd05afb455673a5397ecfa41f7ea36c75d0629566 (patch)
tree47a02522cc9e49db4530f64c2de258b880ff7cc7 /exit.go
parent6a62be781be462c769bb1f61198ea584284e6bed (diff)
try this
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/exit.go b/exit.go
index 393ddec..aeab59c 100644
--- a/exit.go
+++ b/exit.go
@@ -46,7 +46,7 @@ func (pb *Auto) BadExit(msg string, err error) {
dur := time.Since(pb.Ctime.AsTime())
log.Infof("%s error: %s (%s)\n", pb.Argname, msg, cobol.FormatDuration(dur))
- os.Exit(-1)
+ os.Exit(1)
}
// this code doesn't need to be this complicated. I put it here as reference code for myself so I could remember where it is.