From a307c7a4c70876a233ff2fb3a57a6af938fde5b6 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 14 May 2022 10:58:46 +0300 Subject: [PATCH] Fixed stderr error output Signed-off-by: Dimitris Zlatanidis --- bin/slpkg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/slpkg b/bin/slpkg index 064cb186..93bd0158 100755 --- a/bin/slpkg +++ b/bin/slpkg @@ -40,6 +40,5 @@ if __name__ == "__main__": s_user() virtual_env() main() - except KeyboardInterrupt: - print() - raise SystemExit() + except KeyboardInterrupt as err: + raise SystemExit(err)