Properly forward exit 1 code from the paper root command

This is so the CI server can pick up when applying patches fails,
and mark the build as a failure.
This commit is contained in:
Aikar
2018-07-30 17:37:24 -04:00
parent 2b23006694
commit 15735117d7
5 changed files with 18 additions and 10 deletions

View File

@@ -60,4 +60,4 @@ function savePatches {
savePatches "$workdir/Spigot/Spigot-API" "Paper-API"
savePatches "$workdir/Spigot/Spigot-Server" "Paper-Server"
)
) || exit 1