This commit is contained in:
Adam Majer 2024-08-19 17:37:35 +02:00
parent 53505ec1f3
commit 89eff4164d

View File

@ -120,7 +120,7 @@ func ProcessingObsMessages(host, username, password, queueName string) {
}()
var err error
out, err = os.OpenFile("messages.txt", os.O_WRONLY, 0644)
out, err = os.OpenFile("messages.txt", os.O_WRONLY | os.O_APPEND, 0644)
if err != nil {
log.Printf("Cannot open message.txt: %v", err)
return