mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-20 16:26:23 +00:00
Split eula header into two lines of comments
#728 - Found that https://github.com/Yoosk/ServerStarter hard coded expectation that eula property was on third line
This commit is contained in:
@@ -145,7 +145,8 @@ requireVar() {
|
||||
}
|
||||
|
||||
function writeEula() {
|
||||
if ! echo "# Generated via Docker on $(date)
|
||||
if ! echo "# Generated via Docker
|
||||
# $(date)
|
||||
eula=${EULA,,}
|
||||
" >/data/eula.txt; then
|
||||
log "ERROR: unable to write eula to /data. Please make sure attached directory is writable by uid=${UID}"
|
||||
|
||||
Reference in New Issue
Block a user