diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-07 02:00:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-07 02:01:42 +0200 |
commit | c8a963af0270c5fbc125ea34da6538198f524189 (patch) | |
tree | 0920b5049aecfaef8a1ab5a37eefa3084c7716fa /src | |
parent | fa93cb71e83df6ee9e91d04687829a049ea18ec5 (diff) |
Initialize exit_idle_time to -1 instead of 0 when in system mode.
Spotted by Rafał Mużyło.
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index fad635f0..bc8bc63e 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -646,9 +646,9 @@ int main(int argc, char *argv[]) { conf->disable_shm = TRUE; } - if (conf->system_instance && conf->exit_idle_time > 0) { + if (conf->system_instance && conf->exit_idle_time >= 0) { pa_log_notice(_("Running in system mode, forcibly disabling exit idle time!")); - conf->exit_idle_time = 0; + conf->exit_idle_time = -1; } if (conf->cmd == PA_CMD_START) { |