From bb671a5529a597a3a76518c46c48b01b161e2cbd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 18 Nov 2022 07:26:37 +0100 Subject: [PATCH] Avoid triple log --- .templates/92-local_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index 177b786d8..22e99e4c0 100644 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -45,7 +45,7 @@ if bashio::config.has_value 'localdisks'; then # Mount # shellcheck disable=SC2015 mount "$devpath"/"$disk" -o "uid=$PUID,gid=$PGID" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || \ - mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk) + (mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk") || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk) done