mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-23 15:30:37 +01:00
suse: fix return of file descriptor when updating DNS
This commit is contained in:
parent
12b70aba52
commit
d2e88e27b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue