Fix SWU restart command again
Accidentally committed something I only changed for a test. Oops.
This commit is contained in:
1 parent
037e92c447
commit
fa9472d4aa
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user