Added error code

This commit is contained in:
Kevin Veen-Birkenbach
2025-12-07 21:02:55 +01:00
parent 6e52e875aa
commit 225d6a84b7

View File

@@ -76,6 +76,9 @@ def pkgmgr_help_debug() -> None:
print(f"returncode: {proc.returncode}")
print("--- END ---\n")
if proc.returncode != 0:
raise AssertionError(f"'pkgmgr --help' failed with exit code {proc.returncode}")
# Wichtig: Hier KEIN AssertionError mehr das ist reine Debug-Ausgabe.
# Falls du später hart testen willst, kannst du optional:
# if proc.returncode != 0: