Fix SWU restart command again

Accidentally committed something I only changed for a test. Oops.
This commit is contained in:
Gina Häußge committed 2018-11-22 15:54:02 +01:00
1 parent 037e92c447
commit fa9472d4aa
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ def execute(command, cwd=None, evaluate_returncode=True, **kwargs):
p = None
try:
p = sarge.run(command, cwd=cwd, stdout=sarge.Capture(), stderr=sarge.Capture(), async=do_async)
p = sarge.run(command, cwd=cwd, stdout=sarge.Capture(), stderr=sarge.Capture(), async_=do_async)
except:
logging.getLogger(__name__).exception("Error while executing command: {}".format(command))
returncode = p.returncode if p is not None else None