dns: log when dnsmasq process exits normally

This commit is contained in:
Thomas Haller 2016-05-30 12:52:23 +02:00
parent ec53ed2cba
commit a64d70f0df

View file

@ -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))