diff --git a/dotbot/cli.py b/dotbot/cli.py index b9cc528..c280ca1 100644 --- a/dotbot/cli.py +++ b/dotbot/cli.py @@ -44,3 +44,6 @@ def main(): except (ReadingError, DispatchError) as e: log.error('%s' % e) exit(1) + except KeyboardInterrupt: + log.error('\n==> Operation aborted') + exit(1)