Fix pipe to journal

This commit is contained in:
Vinyl Darkscratch 2018-03-06 23:24:12 -08:00
parent 010521814e
commit 1df23b5a82

View file

@ -70,7 +70,7 @@ int server_thread(void *data)
}
CloseHandle(pipe);
#else
out_pipe = open(PIPE_PATH, O_WRONLY);
out_pipe = open(PIPE_PATH, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
active = true;
SDL_LockMutex(mutex);
if (message_len > 0)