mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-06 13:37:43 +03:00
Fix new_config_file var unset
This commit is contained in:
parent
8963aa82bc
commit
9ff46b62ba
@ -31,7 +31,7 @@ function migrate_addon_config_dir() {
|
|||||||
# Nothing to migrate
|
# Nothing to migrate
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
unset old_config_file_yaml new_config_file new_config_file_yaml
|
unset old_config_file_yaml new_config_file_yaml
|
||||||
|
|
||||||
local db_path
|
local db_path
|
||||||
db_path=$(yq -r '.database.path' "${old_config_file}")
|
db_path=$(yq -r '.database.path' "${old_config_file}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user