From 6383d0b7b246fbb9365c6299ead229504b6d9807 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 18 May 2022 14:11:58 +0200 Subject: [PATCH] Update 00-folders.sh --- resiliosync/rootfs/etc/cont-init.d/00-folders.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/resiliosync/rootfs/etc/cont-init.d/00-folders.sh b/resiliosync/rootfs/etc/cont-init.d/00-folders.sh index 2f3ade165..ebb0b2a92 100644 --- a/resiliosync/rootfs/etc/cont-init.d/00-folders.sh +++ b/resiliosync/rootfs/etc/cont-init.d/00-folders.sh @@ -17,8 +17,6 @@ change_folders () { ORIGINALLOCATION=$2 TYPE=$3 - if [ ! -d "$CONFIGLOCATION" ]; then - # Inform bashio::log.info "Setting $TYPE location to $CONFIGLOCATION" @@ -39,10 +37,6 @@ change_folders () { # Set permissions echo "Setting ownership to $PUID:$PGID" && chown -R "$PUID":"$PGID" "$CONFIGLOCATION" - else - bashio::log.nok "Your $TYPE $CONFIGLOCATION doesn't exists" - exit 1 - fi } ########################