summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-13 22:25:43 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-13 22:25:43 +0200
commit0aed5ea2e109e0d4b2ffdbff5f3dc944eb34d7e8 (patch)
tree73c52f4494d4d170cf1aa2d82ff2082f9d579473 /src
parent4cc4cbd6413b43db7704b96cb7599700acd8306d (diff)
client-conf: when is set, disable autospawn setting
Diffstat (limited to 'src')
-rw-r--r--src/pulse/client-conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c
index fd1f471c..940d0b67 100644
--- a/src/pulse/client-conf.c
+++ b/src/pulse/client-conf.c
@@ -150,6 +150,9 @@ int pa_client_conf_env(pa_client_conf *c) {
if ((e = getenv(ENV_DEFAULT_SERVER))) {
pa_xfree(c->default_server);
c->default_server = pa_xstrdup(e);
+
+ /* We disable autospawning automatically if a specific server was set */
+ c->autospawn = FALSE;
}
if ((e = getenv(ENV_DAEMON_BINARY))) {