This commit is contained in:
ayn2op 2023-01-09 14:34:51 +05:30
parent cd8177f0c7
commit 7662127aff

View file

@ -39,7 +39,7 @@ func init() {
}
path = filepath.Join(path, "logs.txt")
f, err := os.OpenFile(path, os.O_CREATE|os.O_APPEND, os.ModePerm)
f, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY, os.ModePerm)
if err != nil {
log.Fatal(err)
}