config: fail when something fails

This commit is contained in:
Wim Taymans 2018-05-14 13:07:55 +02:00
parent e02b3181da
commit 8fcf27848f

View file

@ -190,6 +190,7 @@ int pw_daemon_config_run_commands(struct pw_daemon_config *config, struct pw_cor
if ((ret = pw_command_run(command, core, &err)) < 0) { if ((ret = pw_command_run(command, core, &err)) < 0) {
pw_log_warn("could not run command %s: %s", command->args[0], err); pw_log_warn("could not run command %s: %s", command->args[0], err);
free(err); free(err);
break;
} }
} }