diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -77,9 +77,9 @@ func standardClose() { me.baseGui.Close() log.Log(NOW, "standardExit() doing outf.Close()") outf.Close() - os.Stdin = os.Stdin - os.Stdout = os.Stdout - os.Stderr = os.Stderr + // os.Stdin = os.Stdin + // os.Stdout = os.Stdout + // os.Stderr = os.Stderr log.Log(NOW, "standardExit() send back Quit()") } @@ -110,7 +110,7 @@ func mainGogui() { outf, err = os.OpenFile("/tmp/captureMode.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666) if err != nil { - log.Error(err, "error opening file: %v") + log.Info("error opening file:", err) os.Exit(0) } origStdout = os.Stdout |
