mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-06 07:23:18 +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:
+2
-1
@@ -145,7 +145,8 @@ requireVar() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function writeEula() {
|
function writeEula() {
|
||||||
if ! echo "# Generated via Docker on $(date)
|
if ! echo "# Generated via Docker
|
||||||
|
# $(date)
|
||||||
eula=${EULA,,}
|
eula=${EULA,,}
|
||||||
" >/data/eula.txt; then
|
" >/data/eula.txt; then
|
||||||
log "ERROR: unable to write eula to /data. Please make sure attached directory is writable by uid=${UID}"
|
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