mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Fix frigate failing when no config is defined (#12611)
This commit is contained in:
		
							parent
							
								
									81139e8f47
								
							
						
					
					
						commit
						4c2e6f75a2
					
				| @ -16,8 +16,8 @@ function migrate_db_path() { | |||||||
|     if [[ -f "${config_file_yaml}" ]]; then |     if [[ -f "${config_file_yaml}" ]]; then | ||||||
|         config_file="${config_file_yaml}" |         config_file="${config_file_yaml}" | ||||||
|     elif [[ ! -f "${config_file}" ]]; then |     elif [[ ! -f "${config_file}" ]]; then | ||||||
|         echo "[ERROR] Frigate config file not found" |         # Frigate will create the config file on startup | ||||||
|         return 1 |         return 0 | ||||||
|     fi |     fi | ||||||
|     unset config_file_yaml |     unset config_file_yaml | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user