Added missing parameter (#69160)

The call to daemonize() in sysvinit.py was missing the module parameter included in the function definition in service.py.

This pull request simply adds that parameter, as the module is used for error handling in daemonize().
pull/65344/head
Chris Holland 5 years ago committed by GitHub
parent 53cf6c60cb
commit 339c442250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- sysvinit - Add missing parameter ``module`` in call to ``daemonize()``.

@ -306,7 +306,7 @@ def main():
# how to run
if module.params['daemonize']:
(rc, out, err) = daemonize(cmd)
(rc, out, err) = daemonize(module, cmd)
else:
(rc, out, err) = module.run_command(cmd)
# FIXME: ERRORS

Loading…
Cancel
Save