From 5555b13461fef330d92c4ab4a9b804e3039e2740 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 26 Aug 2014 22:04:19 +1000 Subject: [PATCH] Send everyone die message when signal is received in ckdb --- src/ckdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ckdb.c b/src/ckdb.c index ac5d2b82..2c018cef 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -10266,6 +10266,7 @@ static struct option long_options[] = { static void sighandler(int sig) { LOGWARNING("Received signal %d, shutting down", sig); + everyone_die = true; cksleep_ms(420); exit(0); }