am 02a3c591: am 37a59807: am 0c62341e: Merge change I3778cb73 into eclair

Merge commit '02a3c591af638cccd89eb740e9e33dbc179e59a2'

* commit '02a3c591af638cccd89eb740e9e33dbc179e59a2':
  Fix runcommand logging exception.
This commit is contained in:
Brett Chabot
2009-10-28 23:51:16 -07:00
committed by Android Git Automerger

View File

@@ -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