| Index: tools/testing/frogpad/frogpad.py
|
| diff --git a/tools/testing/frogpad/frogpad.py b/tools/testing/frogpad/frogpad.py
|
| index ee212d8699435abc981f8aecab657df015482b13..c546f4de07629b42a910602c976f03c86709f142 100755
|
| --- a/tools/testing/frogpad/frogpad.py
|
| +++ b/tools/testing/frogpad/frogpad.py
|
| @@ -346,8 +346,8 @@ def run_command(args):
|
| (stdout, stderr) = child.communicate()
|
| for line in stderr.splitlines():
|
| logging.info(logging.INFO, '%s: %s', args[0], line)
|
| - exitcode = child.wait()
|
| - if exitcode:
|
| + exit_code = child.wait()
|
| + if exit_code:
|
| msg = "FAILURE (exit_code=%d): '%s'" % (exit_code, command)
|
| logging.error(msg)
|
| raise CommandFailedException(msg)
|
|
|