mirror of https://github.com/grpc/grpc.git
If [[ "$DONE" != 1 ]] && echo "Failed to do composer install" && exit 1 is at the end of a shell script, even if DONE is 1, this will return with error exit status. That's because [[ $DONE != 1 ]] has exitcode 1 and thus anything after && doesn't get executed and the entire scripts exits the last exit code it seen (which is 1).pull/22712/head
parent
7ec6ad434f
commit
cfbeb3edd7
2 changed files with 13 additions and 6 deletions
Loading…
Reference in new issue