mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
client-conf: when is set, disable autospawn setting
This commit is contained in:
parent
4cc4cbd641
commit
0aed5ea2e1
1 changed files with 3 additions and 0 deletions
|
|
@ -150,6 +150,9 @@ int pa_client_conf_env(pa_client_conf *c) {
|
||||||
if ((e = getenv(ENV_DEFAULT_SERVER))) {
|
if ((e = getenv(ENV_DEFAULT_SERVER))) {
|
||||||
pa_xfree(c->default_server);
|
pa_xfree(c->default_server);
|
||||||
c->default_server = pa_xstrdup(e);
|
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))) {
|
if ((e = getenv(ENV_DAEMON_BINARY))) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue