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:
Pauli Virtanen 2024-11-28 18:05:36 +02:00 committed by Wim Taymans
parent f33e1bc8c3
commit 371781e214

View file

@ -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)