mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pulse-server: fix pulse.cmd load-module not loading multiple overrides
pw_context_conf_section_for_each() stops iterating on nonzero return value, so make sure 0 is returned on success.
This commit is contained in:
parent
f33e1bc8c3
commit
371781e214
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ static int parse_cmd(void *user_data, const char *location,
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return res;
|
return res < 0 ? res : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cmd_run(struct impl *impl)
|
int cmd_run(struct impl *impl)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue