Return the actual return code

This commit is contained in:
Anthony Sottile 2014-03-14 00:05:12 -07:00
parent 0f14d4c072
commit 1a8095e71e

View file

@ -27,7 +27,7 @@ def run_hook(hook, file_args):
) )
ret = process.communicate() ret = process.communicate()
return (0,) + ret return (process.returncode,) + ret
return local['bash'][ return local['bash'][
'-c', ' '.join( '-c', ' '.join(