summaryrefslogtreecommitdiff
path: root/mdbp/mmdebstrap.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-04-22 20:19:46 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-04-22 20:19:46 +0200
commit6377def4d23f9911d2ebb9b6f68ceca14f115db5 (patch)
tree89439eccfb16335014ffa461788dabca94d64133 /mdbp/mmdebstrap.py
parent762b92c31d29bd371a2cb20a21fedd7f29cccda8 (diff)
downloadmdbp-6377def4d23f9911d2ebb9b6f68ceca14f115db5.tar.gz
forward exit code
Diffstat (limited to 'mdbp/mmdebstrap.py')
-rw-r--r--mdbp/mmdebstrap.py3
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()