Merge branch 'ss/fix-signal-handler' into next
This commit is contained in:
commit
e9f23c8985
@ -249,7 +249,7 @@ class OfflineImap:
|
|||||||
self.lock(config, ui)
|
self.lock(config, ui)
|
||||||
|
|
||||||
|
|
||||||
def sigterm_handler(self, signum, frame):
|
def sigterm_handler(signum, frame):
|
||||||
# die immediately
|
# die immediately
|
||||||
ui = getglobalui()
|
ui = getglobalui()
|
||||||
ui.terminate(errormsg="terminating...")
|
ui.terminate(errormsg="terminating...")
|
||||||
|
Loading…
Reference in New Issue
Block a user