From b0936b0e2015a9f4f68824aac09d6248b14f2f9d Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 13 Nov 2012 09:56:16 +0900 Subject: [PATCH] Print an error message when aborted by user Change-Id: If7378c5deaace0ac6ab2be961e38644d9373557d --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 5e575c56..2cafb12f 100755 --- a/main.py +++ b/main.py @@ -397,6 +397,7 @@ def _Main(argv): finally: close_ssh() except KeyboardInterrupt: + print >>sys.stderr, 'aborted by user' result = 1 except ManifestParseError as mpe: print >>sys.stderr, 'fatal: %s' % mpe