1
0
Fork 0
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:
Mike Mars 2016-06-03 15:07:52 -07:00 committed by Matt Clay
parent f592e92177
commit 097f57d327

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: