diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-13 22:25:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-13 22:25:43 +0200 |
commit | 0aed5ea2e109e0d4b2ffdbff5f3dc944eb34d7e8 (patch) | |
tree | 73c52f4494d4d170cf1aa2d82ff2082f9d579473 /src | |
parent | 4cc4cbd6413b43db7704b96cb7599700acd8306d (diff) |
client-conf: when is set, disable autospawn setting
Diffstat (limited to 'src')
-rw-r--r-- | src/pulse/client-conf.c | 3 |
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))) { |