mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 20:20:34 +01:00
core/team: don't wait for teamd -k (kill) to finish
This removes a synchronous operation. Perhaps it might have been nice to watch the process finish and warn on failure or something, but currently we don't do anything with the result either.
This commit is contained in:
parent
b792a74785
commit
72acb59971
1 changed files with 8 additions and 10 deletions
|
|
@ -629,16 +629,14 @@ teamd_kill(NMDeviceTeam *self, GError **error)
|
|||
envp = teamd_env();
|
||||
|
||||
_LOGD(LOGD_TEAM, "running: %s", (tmp_str = g_strjoinv(" ", (char **) argv->pdata)));
|
||||
return g_spawn_sync("/",
|
||||
(char **) argv->pdata,
|
||||
(char **) envp,
|
||||
0,
|
||||
teamd_child_setup,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
error);
|
||||
return g_spawn_async("/",
|
||||
(char **) argv->pdata,
|
||||
(char **) envp,
|
||||
0,
|
||||
teamd_child_setup,
|
||||
NULL,
|
||||
NULL,
|
||||
error);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue