Missed umask octal conversion.
This commit is contained in:
parent
529e75f981
commit
a76083d439
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue