minor changes/cleanup

This commit is contained in:
ston1th 2018-10-17 00:01:41 +02:00
commit 8ef2a2547c
6 changed files with 56 additions and 16 deletions

View file

@ -19,7 +19,7 @@ func NewLogger(file string) {
log = stdlog.New(os.Stdout, "", stdlog.LstdFlags)
return
}
f, err := os.OpenFile(file, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0644)
f, err := os.OpenFile(file, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0640)
if err != nil {
stdlog.Fatal(err)
}