Skip to content

Commit

Permalink
Fix frigate failing when no config is defined (#12611)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Jul 25, 2024
1 parent 81139e8 commit 4c2e6f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ function migrate_db_path() {
if [[ -f "${config_file_yaml}" ]]; then
config_file="${config_file_yaml}"
elif [[ ! -f "${config_file}" ]]; then
echo "[ERROR] Frigate config file not found"
return 1
# Frigate will create the config file on startup
return 0
fi
unset config_file_yaml

Expand Down

0 comments on commit 4c2e6f7

Please sign in to comment.