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()