diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -148,7 +148,13 @@ int handle_signals(void) if (signals_reload) { signals_reload = false; - DEBUG("reload the lists (not yet implemented)\n"); + eprintf("reloading the lists...\n"); + + // Don't initiate an exit if the lists failed to reload. + // It's better to continue operating with empty lists instead + // having to be restarted (with an empty revDNS/WHOIS cache). + if (lists_reload("schachts.list")) + eprintf("error: couldn't reload the lists\n"); } return 0; |