mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Missed umask octal conversion.
This commit is contained in:
parent
f592e92177
commit
097f57d327
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