Fix unbound variable in log warning message

This commit is contained in:
Franck Nijhof 2023-11-10 22:56:57 +01:00
parent 28a32ed51a
commit 3b2eaa6ed1
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -18,9 +18,9 @@ done
# Some links to old locations, to not mess with the user's muscle memory
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" \
|| 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
if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then