We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360b7d3 commit 8832df5Copy full SHA for 8832df5
SOURCES/libexec/build-remote.shx
@@ -320,11 +320,11 @@ remoteBuildProcess() {
320
321
show ""
322
323
- local has_errors dl_start grc_time packages package_name package_file
+ local exit_code has_errors dl_start grc_time packages package_name package_file
324
325
- has_errors=$(tail -100 "$tmp_output" | grep -E '^\+' | tail -1 | grep -v "+ exit 0")
+ exit_code=$(tail -100 "$tmp_output" | grep -E '^\+' | tail -1 | grep "+ exit 0")
326
327
- if [[ -z "$has_errors" ]] ; then
+ if [[ -n "$exit_code" ]] ; then
328
grc_time=$(getGraceDuration "$build_start")
329
330
show "Build complete! The build took $grc_time." $GREEN
0 commit comments