fix(config): remove useless warning
This commit is contained in:
		
							parent
							
								
									e3eecf0555
								
							
						
					
					
						commit
						eeec734d32
					
				| 
						 | 
				
			
			@ -526,13 +526,6 @@ impl LegacyConfigSet {
 | 
			
		|||
    let default_file = config_dir.join(DEFAULT_CONFIG_FILE_NAME);
 | 
			
		||||
    let default = LegacyConfig::load_config(default_file.as_path())?;
 | 
			
		||||
 | 
			
		||||
    // Check that a compatible backend is used, otherwise warn the user
 | 
			
		||||
    if cfg!(not(target_os = "linux")) && default.backend == BackendType::Auto {
 | 
			
		||||
      eprintln!(
 | 
			
		||||
        "Warning: Using Auto backend is only supported on Linux, falling back to Inject backend."
 | 
			
		||||
      )
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Analyze which config files have to be loaded
 | 
			
		||||
 | 
			
		||||
    let mut target_files = Vec::new();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user