From 1fcfddfcd47800c154e733cdb14b95e2e7d002cb Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 22 Oct 2025 01:48:41 +0200 Subject: [PATCH] Update reset.sh --- src/reset.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/reset.sh b/src/reset.sh index b5e7679..f569a99 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -78,8 +78,7 @@ fi # Check folder -if [[ "${COMMIT:-}" == [Yy1]* ]]; then - STORAGE="/local" +if [[ "${STORAGE,,}" != "/storage" ]]; then mkdir -p "$STORAGE" fi @@ -88,7 +87,9 @@ if [ ! -d "$STORAGE" ]; then fi if [ ! -w "$STORAGE" ]; then - error "Storage folder ($STORAGE) is not writeable!" && exit 13 + msg="Storage folder ($STORAGE) is not writeable!" + msg+=" If SELinux is active, you need to add the \":Z\" flag to the bind mount." + error "$msg" && exit 13 fi # Check filesystem