diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 04:56:06 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 04:56:06 -0500 |
| commit | 46773f4290adb32f0a51b8c8fb79816e3f807103 (patch) | |
| tree | 112be9edcefb3c7b6826930efc3bf3fdcc43d3e3 /exit.go | |
| parent | acd07ddd1ab5a758d239fa57fca1931d21da1fd7 (diff) | |
move stuff to fhelpv0.0.24
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ import ( "os" "time" - "go.wit.com/lib/gui/shell" + "go.wit.com/lib/config" "go.wit.com/log" ) @@ -12,7 +12,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)) + log.Infof("%s: %s (%s)\n", pb.Argname, msg, config.FormatDuration(dur)) os.Exit(0) } @@ -21,6 +21,6 @@ func (pb *Auto) BadExit(msg string, err error) { log.Info(err) } dur := time.Since(pb.Ctime.AsTime()) - log.Infof("%s: %s (%s)\n", pb.Argname, msg, shell.FormatDuration(dur)) + log.Infof("%s: %s (%s)\n", pb.Argname, msg, config.FormatDuration(dur)) os.Exit(-1) } |
