From 9ceb5d97cf6e2ad95f2c5af69e9f3e1414ef2be9 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 5 Nov 2023 15:34:09 -0600 Subject: [PATCH] Don't remove allowlist.json if not managed by container (#370) --- bedrock-entry.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/bedrock-entry.sh b/bedrock-entry.sh index eb5dd59..dce04da 100755 --- a/bedrock-entry.sh +++ b/bedrock-entry.sh @@ -178,9 +178,6 @@ if [[ -n "$ALLOW_LIST_USERS" || -n "$WHITE_LIST_USERS" ]]; then ALLOW_LIST=false rm -f allowlist.json fi -else - ALLOW_LIST=false - rm -f allowlist.json fi # prevent issue with bind mounted server.properties which can not be moved (sed tries to move the file when '-i' is used)