diff --git a/slpkg/utilities.py b/slpkg/utilities.py index 55e45742..213c5313 100644 --- a/slpkg/utilities.py +++ b/slpkg/utilities.py @@ -172,7 +172,7 @@ class Utilities(Configs): raise SystemExit(1) if output.returncode != 0: - raise SystemExit(1) + raise SystemExit(output.returncode) def header_process_log(self, filename: str) -> None: """ Creates the build log file and the header. """