NetworkManager r4069 - in trunk: . src/named-manager
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4069 - in trunk: . src/named-manager
- Date: Mon, 15 Sep 2008 14:41:17 +0000 (UTC)
Author: dcbw
Date: Mon Sep 15 14:41:17 2008
New Revision: 4069
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4069&view=rev
Log:
2008-09-15 Dan Williams <dcbw redhat com>
Patch from Alexander Sack <asac ubuntu com>
* src/named-manager/nm-named-manager.c
- (dispatch_resolvconf): respect resolvconf exit code
Modified:
trunk/ChangeLog
trunk/src/named-manager/nm-named-manager.c
Modified: trunk/src/named-manager/nm-named-manager.c
==============================================================================
--- trunk/src/named-manager/nm-named-manager.c (original)
+++ trunk/src/named-manager/nm-named-manager.c Mon Sep 15 14:41:17 2008
@@ -307,7 +307,7 @@
g_strerror (errno));
else {
retval = write_resolv_conf (f, domain, searches, nameservers, error);
- pclose (f);
+ retval &= (pclose (f) == 0);
}
} else {
cmd = g_strconcat (RESOLVCONF_PATH, " -d ", "NetworkManager", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]