fix at.py module on non-glibc systems
This commit is contained in:
parent
117ae098ef
commit
56c5507c21
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ import tempfile
|
||||||
|
|
||||||
|
|
||||||
def add_job(module, result, at_cmd, count, units, command, script_file):
|
def add_job(module, result, at_cmd, count, units, command, script_file):
|
||||||
at_command = "%s now + %s %s -f %s" % (at_cmd, count, units, script_file)
|
at_command = "%s -f %s now + %s %s" % (at_cmd, script_file, count, units)
|
||||||
rc, out, err = module.run_command(at_command, check_rc=True)
|
rc, out, err = module.run_command(at_command, check_rc=True)
|
||||||
if command:
|
if command:
|
||||||
os.unlink(script_file)
|
os.unlink(script_file)
|
||||||
|
|
Loading…
Reference in a new issue