Merge pull request #556 from sameo/topic/conmon-fix

conmon: Fix Ubuntu build failure
This commit is contained in:
Antonio Murdaca 2017-06-03 23:27:08 +02:00 committed by GitHub
commit 8fa574325e

View file

@ -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");