Merge pull request #1414 from ByReaL/dev/python3D
python3: os.umask(002) to os.umask(0o002)
This commit is contained in:
commit
3cb045380e
1 file changed
+1
-1
@@ -44,7 +44,7 @@ class Daemon:
|
||||
# decouple from parent environment
|
||||
os.chdir('/')
|
||||
os.setsid()
|
||||
os.umask(002)
|
||||
os.umask(0o002)
|
||||
|
||||
# do second fork
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user