Missed umask octal conversion.

reviewable/pr18780/r1
Mike Mars 9 years ago
parent 529e75f981
commit a76083d439

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

Loading…
Cancel
Save