From 66ab63be757945f0762bbb347b71f1255b27dc16 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 3 Oct 2023 08:15:21 +0200 Subject: [PATCH] Update 00-smb_mounts.sh --- .templates/00-smb_mounts.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)...'