Missed umask octal conversion.

This commit is contained in:
Mike Mars 2016-06-03 15:07:52 -07:00
parent 529e75f981
commit a76083d439

View file

@ -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: