[elbe-devel] [PATCH 1/9] elbepack: validate: drop sys.exit(0) at end of command

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Jul 25 11:47:11 CEST 2024


The command will implicitly use sys.exit(0) upon successfull completion.
Furthermore this breaks some future features.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/commands/validate.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/elbepack/commands/validate.py b/elbepack/commands/validate.py
index d4e9a628f55a..58f504145aad 100644
--- a/elbepack/commands/validate.py
+++ b/elbepack/commands/validate.py
@@ -37,5 +37,3 @@ def run_command(argv):
         except ValidationError as e:
             print(e)
             sys.exit(61)
-
-    sys.exit(0)

-- 
2.45.2



More information about the elbe-devel mailing list