Skip to content

Commit

Permalink
Fixing return code error.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolobio committed Apr 7, 2015
1 parent 6d9b3e2 commit 4da1c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sshm/main.py
Expand Up @@ -119,7 +119,7 @@ def main():

exit_code = 0
for result in results:
exit_code = exit_code or result['return_code']
exit_code = exit_code or result.get('return_code')
if result.get('stdout') != None:
_print_handling_newlines(result['uri'],
result['return_code'],
Expand Down

0 comments on commit 4da1c97

Please sign in to comment.