mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
daemon: don't pass (null) as argument
This commit is contained in:
parent
b3f8a4b99b
commit
5f66650f7c
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ static int do_exec(struct data *d, const char *key, const char *args)
|
|||
if (pid == 0) {
|
||||
char *cmd, **argv;
|
||||
|
||||
cmd = spa_aprintf("%s %s", key, args);
|
||||
cmd = spa_aprintf("%s %s", key, args ? args : "");
|
||||
argv = pw_split_strv(cmd, " \t", INT_MAX, &n_args);
|
||||
free(cmd);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue