Add SIGTERM signal handler to also call cleanup
authorJack Peel <jack.peel@synapse.com>
Sat, 6 Apr 2013 00:55:19 +0000 (17:55 -0700)
committerJack Peel <jack.peel@synapse.com>
Sat, 6 Apr 2013 00:55:19 +0000 (17:55 -0700)
When stopping st-util under Eclipse as an external tool the st-util
receives a SIGTERM signal, and would not return the device to
usb mass storage mode.  This change now calls cleanup in the SIGTERM handler too!!


No differences found