Revision 1567edea conf/conf.c

View differences:

conf/conf.c
266 266
    }
267 267
  if (old_config)			/* Reconfiguration already in progress */
268 268
    {
269
      if (shutting_down)
269
      if (shutting_down == 2)
270 270
	{
271 271
	  log(L_INFO "New configuration discarded due to shutdown");
272 272
	  config_free(c);
......
314 314
  init_list(&c->protos);
315 315
  init_list(&c->tables);
316 316
  c->shutdown = 1;
317
  config_commit(c);
318 317
  shutting_down = 1;
318
  config_commit(c);
319
  shutting_down = 2;
319 320
}
320 321

  
321 322
/**

Also available in: Unified diff