From 89b40ec3af32b85f706bb0a8430a37c935ad5bf3 Mon Sep 17 00:00:00 2001 From: Edgar HIPP Date: Tue, 1 May 2018 15:55:26 +0200 Subject: [PATCH] Make CTRL-C message more clear Signed-off-by: Edgar Hipp Signed-off-by: Nicolas Sebrecht --- offlineimap/init.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/offlineimap/init.py b/offlineimap/init.py index a11a25a..80158bd 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -433,8 +433,9 @@ class OfflineImap(object): accounts.Account.set_abort_event(self.config, 2) elif sig in (signal.SIGTERM, signal.SIGINT, signal.SIGHUP): # tell each account to ABORT ASAP (ctrl-c) - getglobalui().warn("Terminating NOW (this may "\ - "take a few seconds)...") + getglobalui().warn("Preparing to shutdown after sync (this may "\ + "take some time), press CTRL-C three "\ + "times to shutdown immediately") accounts.Account.set_abort_event(self.config, 3) if 'thread' in self.ui.debuglist: self.__dumpstacks(5)