Skip to content
Snippets Groups Projects
Commit bfcd0d22 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

server: drop executable bit from daemon log file

The logfile option was unused, so it was okay until now.
parent a6a32219
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,8 @@
nullfd = os.open(os.devnull, os.O_RDWR)
logfilefd = nullfd
if logfile:
logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND)
logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND,
0o666)
os.dup2(nullfd, 0)
os.dup2(logfilefd, 1)
os.dup2(logfilefd, 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment