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/mmdebstrap.py | |
parent | 762b92c31d29bd371a2cb20a21fedd7f29cccda8 (diff) | |
download | mdbp-6377def4d23f9911d2ebb9b6f68ceca14f115db5.tar.gz |
forward exit code
Diffstat (limited to 'mdbp/mmdebstrap.py')
-rw-r--r-- | mdbp/mmdebstrap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdbp/mmdebstrap.py b/mdbp/mmdebstrap.py index c4a52ef..aa52eac 100644 --- a/mdbp/mmdebstrap.py +++ b/mdbp/mmdebstrap.py @@ -6,6 +6,7 @@ import argparse import pathlib import shlex import subprocess +import sys import tempfile import typing @@ -152,7 +153,7 @@ def main() -> None: ] cmd.extend(build.get("extrarepositories", ())) proc = subprocess.Popen(cmd) - proc.wait() + sys.exit(proc.wait()) if __name__ == "__main__": main() |