Missed umask octal conversion.

pull/18777/head
Mike Mars 9 years ago committed by Matt Clay
parent f592e92177
commit 097f57d327

@ -176,7 +176,7 @@ def daemonize_self(module, password, port, minutes, pid_file):
# decouple from parent environment # decouple from parent environment
os.chdir("/") os.chdir("/")
os.setsid() os.setsid()
os.umask(Oo22) os.umask(int('O22', 8))
# do second fork # do second fork
try: try:

Loading…
Cancel
Save