diff --git a/slpkg/utilities.py b/slpkg/utilities.py index 20f1574c..dfd42545 100644 --- a/slpkg/utilities.py +++ b/slpkg/utilities.py @@ -147,8 +147,8 @@ class Utilities(Configs): subprocess.call(command, shell=True, stderr=stderr, stdout=stdout) except subprocess.CalledProcessError as error: self.errors.raise_error_message(str(error), exit_status=20) - except KeyboardInterrupt as error: - self.errors.raise_error_message(str(error), exit_status=1) + except KeyboardInterrupt: + raise SystemExit(1) def get_file_size(self, file: Path) -> str: """ Get the local file size and converted to units. """