From ece7dc29e7b443af3ca6f3f034851325e3af7e8b Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 23 Apr 2023 11:19:56 -0600 Subject: [PATCH] Fix substitution change (#6212) --- docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run b/docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run index 6c1c1a442..0a835550e 100755 --- a/docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run +++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run @@ -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