Fix unbound variable in log warning message (#736)

This commit is contained in:
Franck Nijhof 2023-11-10 23:00:25 +01:00 committed by GitHub
parent 28a32ed51a
commit 9245e790c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,9 +18,9 @@ done
# Some links to old locations, to not mess with the user's muscle memory # Some links to old locations, to not mess with the user's muscle memory
ln -s "/homeassistant" "/config" \ ln -s "/homeassistant" "/config" \
|| bashio::log.warning "Failed linking common directory: ${dir}" || bashio::log.warning "Failed linking common directory: /config"
ln -s "/homeassistant" "${HOME}/config" \ ln -s "/homeassistant" "${HOME}/config" \
|| bashio::log.warning "Failed linking common directory: ${dir}" || bashio::log.warning "Failed linking common directory: ${HOME}/config"
# Store SSH settings in add-on data folder # Store SSH settings in add-on data folder
if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then