remove client log file on successful quit

This commit is contained in:
Gokcehan 2016-11-22 21:01:29 +03:00
parent e643525d5c
commit 91ad00a294

View File

@ -16,6 +16,7 @@ func client() {
if err != nil {
panic(err)
}
defer os.Remove(gLogPath)
defer logFile.Close()
log.SetOutput(logFile)