Commit 2bad787e authored by Dan Williams's avatar Dan Williams
Browse files

2005-08-08 Dan Williams <dcbw@redhat.com>

	Patch from Colin Slater:
	* src/backends/NetworkManagerGentoo.c
		- (nm_system_update_dns): Fix exit status check for restarting
			nscd


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@827 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 8e3651f9
2005-08-08 Dan Williams <dcbw@redhat.com>
Patch from Colin Slater:
* src/backends/NetworkManagerGentoo.c
- (nm_system_update_dns): Fix exit status check for restarting
nscd
2005-08-05 Robert Love <rml@novell.com>
* NetworkManager.h,
......
......@@ -229,7 +229,7 @@ void nm_system_kill_all_dhcp_daemons (void)
void nm_system_update_dns (void)
{
#ifdef NM_NO_NAMED
if (nm_spawn_process ("/etc/init.d/nscd status") != 0)
if (nm_spawn_process ("/etc/init.d/nscd status") == 0)
nm_spawn_process ("/etc/init.d/nscd restart");
#else
nm_spawn_process("/usr/sbin/killall -q nscd");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment