diff options
| author | bwarsaw | 2001-04-03 03:06:25 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-04-03 03:06:25 +0000 |
| commit | 06647007ed0c1520c1e2912d802fd20fa70b7021 (patch) | |
| tree | 6574aba532bbf9a8eece37e18790987e691dc84a | |
| parent | 90e54487fc4618747df405de91de1b55d7fcad26 (diff) | |
| download | mailman-06647007ed0c1520c1e2912d802fd20fa70b7021.tar.gz mailman-06647007ed0c1520c1e2912d802fd20fa70b7021.tar.zst mailman-06647007ed0c1520c1e2912d802fd20fa70b7021.zip | |
| -rw-r--r-- | cron/qrunner | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cron/qrunner b/cron/qrunner index 68e45e266..212a39ca5 100644 --- a/cron/qrunner +++ b/cron/qrunner @@ -122,7 +122,12 @@ def start_runner(qrclass, slice, count): else: # child qrunner = qrclass(slice, count).run() - syslog('qrunner', '%s qrunner exiting' % qrclass) + try: + syslog('qrunner', '%s qrunner exiting' % qrclass) + except KeyboardInterrupt: + # Due to race conditions, the subproc could get the SIGINT inside + # the syslog call. It's of no consequence. + pass os._exit(0) |
