mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
don't allow --start in system mode
This commit is contained in:
parent
656d243f2b
commit
0b428e7cb1
1 changed files with 5 additions and 0 deletions
|
|
@ -627,6 +627,11 @@ int main(int argc, char *argv[]) {
|
|||
goto finish;
|
||||
}
|
||||
|
||||
if (conf->cmd == PA_CMD_START && conf->system_instance) {
|
||||
pa_log("--start not supported for system instances.");
|
||||
goto finish;
|
||||
}
|
||||
|
||||
if (conf->cmd == PA_CMD_START) {
|
||||
/* If we shall start PA only when it is not running yet, we
|
||||
* first take the autospawn lock to make things
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue