From 978333fcdbc3f70277b57d28e3c8119e847b7b1b Mon Sep 17 00:00:00 2001 From: Kivi Kaitaniemi Date: Sun, 21 Dec 2025 04:16:46 +0200 Subject: [PATCH] Handle KeyboardInterrupt --- src/decman/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/decman/app.py b/src/decman/app.py index 9fad6e9..50ee876 100644 --- a/src/decman/app.py +++ b/src/decman/app.py @@ -106,6 +106,9 @@ def main(): ) output.print_error("This may cause already completed operations to run again.") output.print_traceback() + except KeyboardInterrupt: + output.print_error("Interrupted by the user.") + failed = True finally: os.chdir(original_wd)