mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
main: handle execv failure
Log an error, exit daemon
This commit is contained in:
parent
ffbb74c4af
commit
aa36a72427
3 changed files with 13 additions and 4 deletions
|
|
@ -200,7 +200,7 @@ int pw_daemon_config_run_commands(struct pw_daemon_config *config, struct pw_con
|
|||
|
||||
spa_list_for_each(command, &config->commands, link) {
|
||||
if ((ret = pw_command_run(command, context, &err)) < 0) {
|
||||
pw_log_warn("could not run command %s: %s", command->args[0], err);
|
||||
pw_log_error("could not run command %s: %s", command->args[0], err);
|
||||
free(err);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue