Browse Source

Send everyone die message when signal is received in ckdb

master
Con Kolivas 10 years ago
parent
commit
5555b13461
  1. 1
      src/ckdb.c

1
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);
}

Loading…
Cancel
Save