mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
|
|
@ -120,6 +120,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if ((res = pw_daemon_config_run_commands(config, context)) < 0) {
|
||||
pw_log_error("failed to run config commands: %s", spa_strerror(res));
|
||||
pw_main_loop_quit(loop);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue