Skip to content

Commit

Permalink
Fix substitution change (blakeblackshear#6212)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Apr 23, 2023
1 parent cdd8e6f commit ece7dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ s6-svc -O .
function migrate_db_path() {
# Find config file in yaml or yml, but prefer yaml
local config_file="${CONFIG_FILE:-"/config/config.yml"}"
local config_file_yaml="${config_file//.yaml/.yml}"
local config_file_yaml="${config_file//.yml/.yaml}"
if [[ -f "${config_file_yaml}" ]]; then
config_file="${config_file_yaml}"
elif [[ ! -f "${config_file}" ]]; then
Expand Down

0 comments on commit ece7dc2

Please sign in to comment.