summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-06-13 10:24:48 -0400
committerLennart Poettering <lennart@poettering.net>2016-06-13 16:24:48 +0200
commitaac57b3539608c28e714643de3cf581a6f6322e5 (patch)
tree35018059acefc073f30edc1850414fbec6ef0703 /src/resolve/resolved-manager.c
parent11dc0a137b1680904ce54ac2269a05c5a51e682e (diff)
resolved: use single message for both dbus and signal calls (#3515)
Follow-up for #3502.
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index a46f13b92f..23101cb760 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -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.");
}