mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 11:28:32 +02:00
dns: log when dnsmasq process exits normally
(cherry picked from commit a64d70f0df)
This commit is contained in:
parent
84b0bb5ec8
commit
2deee52867
1 changed files with 3 additions and 1 deletions
|
|
@ -530,8 +530,10 @@ child_quit (NMDnsPlugin *plugin, gint status)
|
||||||
if (err) {
|
if (err) {
|
||||||
_LOGW ("dnsmasq exited with error: %s",
|
_LOGW ("dnsmasq exited with error: %s",
|
||||||
nm_utils_dnsmasq_status_to_string (err, NULL, 0));
|
nm_utils_dnsmasq_status_to_string (err, NULL, 0));
|
||||||
} else
|
} else {
|
||||||
|
_LOGD ("dnsmasq exited normally");
|
||||||
failed = FALSE;
|
failed = FALSE;
|
||||||
|
}
|
||||||
} else if (WIFSTOPPED (status))
|
} else if (WIFSTOPPED (status))
|
||||||
_LOGW ("dnsmasq stopped unexpectedly with signal %d", WSTOPSIG (status));
|
_LOGW ("dnsmasq stopped unexpectedly with signal %d", WSTOPSIG (status));
|
||||||
else if (WIFSIGNALED (status))
|
else if (WIFSIGNALED (status))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue