diff options
| author | Jeff Carr <[email protected]> | 2025-09-09 06:16:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-09 06:16:41 -0500 |
| commit | 8ab09243500576460a9e5b12cae0b997933d6577 (patch) | |
| tree | 07a8b5113c812f0cc31d301f2784ef9e48b92d90 /exit.go | |
| parent | 58e2a02c5bffdab2eac0da83c3810f1d808da7df (diff) | |
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,6 +6,7 @@ package main import ( "os" + "go.wit.com/gui" "go.wit.com/log" ) @@ -13,12 +14,12 @@ func okExit(note string) { if note != "" { log.Info("gus exit:", note, "ok") } - me.myGui.Close() + gui.StandardExit() os.Exit(0) } func badExit(err error) { log.Info("gus failed: ", err) - me.myGui.Close() + gui.StandardExit() os.Exit(-1) } |
