summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.go b/init.go
index d1028d9..c1e8dc9 100644
--- a/init.go
+++ b/init.go
@@ -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