]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: use single message for both dbus and signal calls (#3515)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Jun 2016 14:24:48 +0000 (10:24 -0400)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Jun 2016 14:24:48 +0000 (16:24 +0200)
Follow-up for #3502.

src/resolve/resolved-manager.c

index a46f13b92fc000cb622b06fa9584198d75ff05f9..23101cb7602f1d747f012c9b1596bce69597defc 100644 (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.");
 }