suse: fix return of file descriptor when updating DNS

This commit is contained in:
Witold Sowa
2009-07-07 12:23:00 -04:00
committed by Dan Williams
parent 12b70aba52
commit d2e88e27b7

View File

@@ -149,7 +149,7 @@ run_netconfig (GError **error, gint *stdin_fd)
g_free (tmp); g_free (tmp);
if (!g_spawn_async_with_pipes (NULL, argv, NULL, 0, netconfig_child_setup, if (!g_spawn_async_with_pipes (NULL, argv, NULL, 0, netconfig_child_setup,
NULL, &pid, &stdin_fd, NULL, NULL, error)) NULL, &pid, stdin_fd, NULL, NULL, error))
return -1; return -1;
return pid; return pid;