mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -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
							
								
									80a79b15df
								
							
						
					
					
						commit
						1e513c3420
					
				
					 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