Prevent error by adding return 0 to set_eula()
This commit is contained in:
parent
f83c8499e6
commit
c4e3fc042c
@ -9,6 +9,7 @@ set_eula() {
|
|||||||
sed -i.bak "s/^eula=.*\$/eula=${EULA:-false}/" "$EULAFILE"
|
sed -i.bak "s/^eula=.*\$/eula=${EULA:-false}/" "$EULAFILE"
|
||||||
diff --unified=1 "${EULAFILE}.bak" "$EULAFILE"
|
diff --unified=1 "${EULAFILE}.bak" "$EULAFILE"
|
||||||
rm "${EULAFILE}.bak"
|
rm "${EULAFILE}.bak"
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Update server.properties using env
|
# Update server.properties using env
|
||||||
|
Loading…
Reference in New Issue
Block a user