From 2deee5286726fb2933822e105ffce634df695b35 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 30 May 2016 12:52:23 +0200 Subject: [PATCH] dns: log when dnsmasq process exits normally (cherry picked from commit a64d70f0df586d398aa1bcd74be131ed6dc75450) --- src/dns-manager/nm-dns-dnsmasq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dns-manager/nm-dns-dnsmasq.c b/src/dns-manager/nm-dns-dnsmasq.c index f1ec2fc8c2..9ca3c800b2 100644 --- a/src/dns-manager/nm-dns-dnsmasq.c +++ b/src/dns-manager/nm-dns-dnsmasq.c @@ -530,8 +530,10 @@ child_quit (NMDnsPlugin *plugin, gint status) if (err) { _LOGW ("dnsmasq exited with error: %s", nm_utils_dnsmasq_status_to_string (err, NULL, 0)); - } else + } else { + _LOGD ("dnsmasq exited normally"); failed = FALSE; + } } else if (WIFSTOPPED (status)) _LOGW ("dnsmasq stopped unexpectedly with signal %d", WSTOPSIG (status)); else if (WIFSIGNALED (status))