projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656d243
)
don't allow --start in system mode
author
Lennart Poettering
<lennart@poettering.net>
Wed, 30 Jul 2008 18:36:34 +0000
(20:36 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 30 Jul 2008 18:36:34 +0000
(20:36 +0200)
src/daemon/main.c
patch
|
blob
|
history
diff --git
a/src/daemon/main.c
b/src/daemon/main.c
index
a8880a3
..
5fc9f01
100644
(file)
--- a/
src/daemon/main.c
+++ b/
src/daemon/main.c
@@
-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