diff --git a/.templates/00-smb_mounts.sh b/.templates/00-smb_mounts.sh index d59efe4d8..ea85977ff 100755 --- a/.templates/00-smb_mounts.sh +++ b/.templates/00-smb_mounts.sh @@ -8,12 +8,12 @@ if bashio::config.has_value 'networkdisks'; then -# Alert message that it is a new code -if [[ "$(date +"%Y%m%d")" -lt "20240101" ]]; then - bashio::log.warning "------------------------" - bashio::log.warning "This is a new code, please report any issues on https://github.com/alexbelgium/hassio-addons" - bashio::log.warning "------------------------" -fi + # Alert message that it is a new code + if [[ "$(date +"%Y%m%d")" -lt "20240101" ]]; then + bashio::log.warning "------------------------" + bashio::log.warning "This is a new code, please report any issues on https://github.com/alexbelgium/hassio-addons" + bashio::log.warning "------------------------" + fi echo 'Mounting smb share(s)...'