Merge pull request #556 from sameo/topic/conmon-fix
conmon: Fix Ubuntu build failure
This commit is contained in:
commit
8fa574325e
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Open the log path file. */
|
/* Open the log path file. */
|
||||||
logfd = open(log_path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC);
|
logfd = open(log_path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC, 0600);
|
||||||
if (logfd < 0)
|
if (logfd < 0)
|
||||||
pexit("Failed to open log file");
|
pexit("Failed to open log file");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue