mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 21:40:08 +01:00
ifcfg-rh: log debug level message when loading of ifcfg file fails for common reasons
This commit is contained in:
parent
7e4178b383
commit
86ccdcf366
1 changed files with 4 additions and 2 deletions
|
|
@ -207,8 +207,10 @@ update_connection (SettingsPluginIfcfg *self,
|
|||
&& !protect_existing_connection
|
||||
&& (!protected_connections || !g_hash_table_contains (protected_connections, connection)))
|
||||
remove_connection (self, connection);
|
||||
if (!source && !ignore_error)
|
||||
_LOGW ("loading \"%s\" fails: %s", full_path, local ? local->message : "(unknown reason)");
|
||||
if (!source) {
|
||||
_NMLOG (ignore_error ? LOGL_DEBUG : LOGL_WARN,
|
||||
"loading \"%s\" fails: %s", full_path, local ? local->message : "(unknown reason)");
|
||||
}
|
||||
g_propagate_error (error, local);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue