diff --git a/scripts/start-setupServerProperties b/scripts/start-setupServerProperties index 97f57cea..f0ab364c 100755 --- a/scripts/start-setupServerProperties +++ b/scripts/start-setupServerProperties @@ -115,7 +115,10 @@ function customizeServerProps { setPropertiesArgs+=(--custom-properties "$CUSTOM_SERVER_PROPERTIES") fi - mc-image-helper set-properties "${setPropertiesArgs[@]}" "$SERVER_PROPERTIES" + if ! mc-image-helper set-properties "${setPropertiesArgs[@]}" "$SERVER_PROPERTIES"; then + log "ERROR: failed to update server.properties" + exit 1 + fi }