diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-07-30 20:36:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-07-30 20:36:34 +0200 |
commit | 0b428e7cb1efdd7330b89a9855f08c45bfa98307 (patch) | |
tree | 32df2d71260b2e25f9525aab5e1533326cd9caa2 /src | |
parent | 656d243f2bc1ac1b6ff15850af93598eea8cac66 (diff) |
don't allow --start in system mode
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index a8880a30..5fc9f01c 100644 --- 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 |