am 0c62341e: Merge change I3778cb73 into eclair
Merge commit '0c62341e8ec194a18bbf35fb380287c15d2da70d' into eclair-mr2 * commit '0c62341e8ec194a18bbf35fb380287c15d2da70d': Fix runcommand logging exception.
This commit is contained in:
@@ -112,7 +112,7 @@ def RunOnce(cmd, timeout_time=None, return_output=True, stdin_input=None):
|
||||
logger.Log(e)
|
||||
so.append("ERROR")
|
||||
error_occurred = True
|
||||
if pipe.returncode != 0:
|
||||
if pipe.returncode:
|
||||
logger.SilentLog("Error: %s returned %d error code" %(cmd,
|
||||
pipe.returncode))
|
||||
error_occurred = True
|
||||
|
||||
Reference in New Issue
Block a user