mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - Also propagate the correct exit code
This commit is contained in:
parent
40a95e1196
commit
53fd37cae2
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def run_cmd_wait(cmd, input=None, stdout=PIPE, stderr=PIPE,
|
|||
if exit != 0:
|
||||
raise CommandError(cmd, exit, out, err)
|
||||
|
||||
return p.returncode, out, err
|
||||
return exit, out, err
|
||||
|
||||
|
||||
def run_cmd_wait_nofail(*args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue