main: be sure to print 'Keyboard Interrupt' if that happens.

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 27c0a65b
......@@ -459,7 +459,7 @@ def main(args=None):
post_parse(parsed_args)
sys.exit(run_diffoscope(parsed_args))
except KeyboardInterrupt:
logger.info('Keyboard Interrupt')
logger.error('Keyboard Interrupt')
sys.exit(2)
except BrokenPipeError:
sys.exit(2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment