1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Corrected string of text...

This commit is contained in:
Mike Mars 2016-06-03 15:02:55 -07:00 committed by Matt Clay
parent 7af767f435
commit f592e92177

View file

@ -170,7 +170,7 @@ def daemonize_self(module, password, port, minutes, pid_file):
module.exit_json(msg="daemonized accelerate on port %s for %s minutes with pid %s" % (port, minutes, str(pid))) module.exit_json(msg="daemonized accelerate on port %s for %s minutes with pid %s" % (port, minutes, str(pid)))
except OSError: except OSError:
e = get_exception() e = get_exception()
message = "fork #2 failed: {} ({})".format(e.errno, e.strerror) message = "fork #1 failed: {} ({})".format(e.errno, e.strerror)
module.fail_json(message) module.fail_json(message)
# decouple from parent environment # decouple from parent environment