resolved: use single message for both dbus and signal calls (#3515)

Follow-up for #3502.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-06-13 10:24:48 -04:00 committed by Lennart Poettering
parent 11dc0a137b
commit aac57b3539
1 changed files with 2 additions and 1 deletions

View File

@ -474,7 +474,6 @@ static int manager_sigusr2(sd_event_source *s, const struct signalfd_siginfo *si
assert(m);
manager_flush_caches(m);
log_info("Flushed all caches.");
return 0;
}
@ -1257,4 +1256,6 @@ void manager_flush_caches(Manager *m) {
LIST_FOREACH(scopes, scope, m->dns_scopes)
dns_cache_flush(&scope->cache);
log_info("Flushed all caches.");
}