Skip to content

Commit

Permalink
Added -f flag on rm command to ignore deletion errors
Browse files Browse the repository at this point in the history
  • Loading branch information
drardin authored Oct 20, 2023
1 parent 0954b3a commit cb0b702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bedrock-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ if [[ -n "$ALLOW_LIST_USERS" || -n "$WHITE_LIST_USERS" ]]; then
ALLOW_LIST=true
else
ALLOW_LIST=false
rm allowlist.json
rm -f allowlist.json
fi
else
ALLOW_LIST=false
rm allowlist.json
rm -f allowlist.json
fi
sed -i '/^white-list=.*/d' server.properties #Removes white-list= line from server.properties
export ALLOW_LIST
Expand Down

0 comments on commit cb0b702

Please sign in to comment.