mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
Initialize exit_idle_time to -1 instead of 0 when in system mode.
Spotted by Rafał Mużyło.
This commit is contained in:
parent
fa93cb71e8
commit
c8a963af02
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue