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

Merge commit '37a59807b86d330c89904c25dd4540bce8898386' into eclair-mr2-plus-aosp

* commit '37a59807b86d330c89904c25dd4540bce8898386':
  Fix runcommand logging exception.
This commit is contained in:
Brett Chabot
2009-10-28 11:52:32 -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