diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2016-09-12 12:29:14 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2016-09-12 12:39:33 -0400 |
commit | da0dac38415a0c040e449a229e8e8ff751ed5f9c (patch) | |
tree | dfe5051b5bd538a876b0f59f2cd70128a7f0578a /utilities | |
parent | 067167a9b3fb84ac88399650336ebec8940fad7d (diff) | |
download | ansible-modules-core-da0dac38415a0c040e449a229e8e8ff751ed5f9c.tar.gz |
removed chdir / as it breaks tasks
fixes #17466
Diffstat (limited to 'utilities')
-rw-r--r-- | utilities/logic/async_wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/logic/async_wrapper.py b/utilities/logic/async_wrapper.py index 5c658d68..822f9dc9 100644 --- a/utilities/logic/async_wrapper.py +++ b/utilities/logic/async_wrapper.py @@ -51,7 +51,7 @@ def daemonize_self(): e = sys.exc_info()[1] sys.exit("fork #1 failed: %d (%s)\n" % (e.errno, e.strerror)) - # decouple from parent environment + # decouple from parent environment (does not chdir / to keep the directory context the same as for non async tasks) os.setsid() os.umask(int('022', 8)) |