Don't remove allowlist.json if not managed by container (#370)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2023-11-05 15:34:09 -06:00
1 parent a90ade19be
commit 9ceb5d97cf
1 file changed
-3
-3
View File
@@ -178,9 +178,6 @@ if [[ -n "$ALLOW_LIST_USERS" || -n "$WHITE_LIST_USERS" ]]; then
ALLOW_LIST=false ALLOW_LIST=false
rm -f allowlist.json rm -f allowlist.json
fi fi
else
ALLOW_LIST=false
rm -f allowlist.json
fi fi
# prevent issue with bind mounted server.properties which can not be moved (sed tries to move the file when '-i' is used) # prevent issue with bind mounted server.properties which can not be moved (sed tries to move the file when '-i' is used)