mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Updated for exit status
This commit is contained in:
parent
337691e3b1
commit
b4b5c6e219
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ class Check(Configs):
|
|||
not_packages.append(pkg)
|
||||
|
||||
if not_packages:
|
||||
self.errors.raise_error_message(f"Packages '{', '.join(not_packages)}' does not exists", exit_status=20)
|
||||
self.errors.raise_error_message(f"Packages '{', '.join(not_packages)}' does not exists", exit_status=1)
|
||||
|
||||
def is_package_unsupported(self, slackbuilds: list) -> None:
|
||||
""" Checking for unsupported slackbuilds. """
|
||||
|
@ -75,7 +75,7 @@ class Check(Configs):
|
|||
not_found.append(pkg)
|
||||
|
||||
if not_found:
|
||||
self.errors.raise_error_message(f'Not found \'{", ".join(not_found)}\' installed packages', exit_status=20)
|
||||
self.errors.raise_error_message(f'Not found \'{", ".join(not_found)}\' installed packages', exit_status=1)
|
||||
|
||||
def is_empty_database(self, repo: str) -> None:
|
||||
""" Checking for empty table and database file. """
|
||||
|
|
Loading…
Add table
Reference in a new issue