dns: ensure that update_dns() always returns a GError on failure

Callers may expect this, so make sure we do it.
This commit is contained in:
Dan Williams
2015-02-26 15:04:36 -06:00
parent cc8d9f778c
commit 06f25a3ec7
4 changed files with 63 additions and 63 deletions

View File

@@ -49,7 +49,7 @@ nm_utils_ip6_route_metric_normalize (guint32 metric)
return metric ? metric : 1024 /*NM_PLATFORM_ROUTE_METRIC_DEFAULT_IP6*/;
}
int nm_spawn_process (const char *args);
int nm_spawn_process (const char *args, GError **error);
int nm_utils_modprobe (GError **error, const char *arg1, ...) G_GNUC_NULL_TERMINATED;