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:
Geoff Bourne
2021-01-19 21:36:21 -06:00
parent ad46f10b55
commit 69e308d420

View File

@@ -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}"