bmap-flasher: act on KeyboardInterrupt
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 7 Nov 2012 09:09:17 +0000 (11:09 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 8 Nov 2012 08:10:40 +0000 (10:10 +0200)
commit7be207277b18b938385a3c45fa6d098cc9e63adf
treedf2fde2584c7203b52a76eff77011a57de0d869c
parent18ec1d7445b5231e85b5ada06c89098d85b26f2b
bmap-flasher: act on KeyboardInterrupt

When one pressess Ctrl-C, the program hands for several minutes and does
not exit. The reason is that the kernel synchronized the block device on
the last close.

Let's at least print a message to the user and tell that there is no need
to worry.

Change-Id: I61368dddf697161c2a47012c5f9e2c96b74ef273
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmap-flasher