Don't remove allowlist.json if not managed by container (#370)
This commit is contained in:
1 parent
a90ade19be
commit
9ceb5d97cf
1 file changed
-3
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user