diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-04-22 20:19:46 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2021-04-22 20:19:46 +0200 |
commit | 6377def4d23f9911d2ebb9b6f68ceca14f115db5 (patch) | |
tree | 89439eccfb16335014ffa461788dabca94d64133 /mdbp/pbuilder.py | |
parent | 762b92c31d29bd371a2cb20a21fedd7f29cccda8 (diff) | |
download | mdbp-6377def4d23f9911d2ebb9b6f68ceca14f115db5.tar.gz |
forward exit code
Diffstat (limited to 'mdbp/pbuilder.py')
-rw-r--r-- | mdbp/pbuilder.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdbp/pbuilder.py b/mdbp/pbuilder.py index 51111e3..07dcac5 100644 --- a/mdbp/pbuilder.py +++ b/mdbp/pbuilder.py @@ -6,6 +6,7 @@ import argparse import os import pathlib import subprocess +import sys from .common import buildjson, compute_env, get_dsc, make_option, \ profile_option @@ -57,7 +58,7 @@ def main() -> None: with get_dsc(build) as dscpath: cmd.append(str(dscpath)) proc = subprocess.Popen(cmd, env=compute_env(build)) - proc.wait() + sys.exit(proc.wait()) if __name__ == "__main__": main() |