From 6803c5aeb154a759f06a383ffa0ab719485a3555 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 11 May 2022 10:27:16 +0300 Subject: [PATCH] Fixed stderr error output Signed-off-by: Dimitris Zlatanidis --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index 2867ba57..758faeaf 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -689,7 +689,7 @@ class ArgParse(BlackList): break if tag and tag not in colors: print(f"\nslpkg: Error: Available colors {colors}\n") - raise SystemExit() + raise SystemExit(1) if (len(self.args) == 3 and self.args[0] in options and self.args[1] in self.meta.repositories and tag in colors): PkgDesc(self.args[2], self.args[1], tag).view()