Time limit needs to be passed to async_wrapper.

This commit is contained in:
Michael DeHaan 2012-03-03 12:45:55 -05:00
commit 45c40524ef
2 changed files with 4 additions and 3 deletions

View file

@ -221,7 +221,7 @@ class Runner(object):
async = self._transfer_module(conn, tmp, 'async_wrapper')
module = self._transfer_module(conn, tmp, self.module_name)
new_args = []
new_args = [ self.generated_jid, module ]
new_args = [ self.generated_jid, module, self.background ]
new_args.extend(self.module_args)
result = self._execute_module(conn, tmp, async, new_args)
return self._return_from_module(conn, host, result)