diff options
Diffstat (limited to 'voctocore/voctocore.py')
-rwxr-xr-x | voctocore/voctocore.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/voctocore/voctocore.py b/voctocore/voctocore.py index 7a96277..43826d1 100755 --- a/voctocore/voctocore.py +++ b/voctocore/voctocore.py @@ -44,11 +44,13 @@ class Voctocore(object): def run(self): self.log.info('running GObject-MainLoop') - self.mainloop.run() + try: + self.mainloop.run() + except KeyboardInterrupt: + self.log.info('Terminated via Ctrl-C') def quit(self): self.log.info('quitting GObject-MainLoop') - self.mainloop.quit() |