• Kubernetes Submit Queue's avatar
    Merge pull request #59207 from ipuustin/shell-bugfix · 5c86ef21
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 59705, 59207, 59677). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    build: fix a logic error in shell script.
    
    **What this PR does / why we need it**: It looks like that there's a logic error in `build/common.sh`. The return value of a `docker inspect` command is not checked properly, since the value being assigned is actually the previous command's return value (a `0`, because `local` always returns `0` when used like this).
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**: 
    
    ```release-note
    NONE
    ```
    5c86ef21
Name
Last commit
Last update
..
build-image Loading commit data...
debian-base Loading commit data...
debian-hyperkube-base Loading commit data...
debian-iptables Loading commit data...
debs Loading commit data...
lib Loading commit data...
pause Loading commit data...
release-tars Loading commit data...
root Loading commit data...
rpms Loading commit data...
visible_to Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
common.sh Loading commit data...
copy-output.sh Loading commit data...
make-build-image.sh Loading commit data...
make-clean.sh Loading commit data...
openapi.bzl Loading commit data...
package-tarballs.sh Loading commit data...
release-in-a-container.sh Loading commit data...
release.sh Loading commit data...
run.sh Loading commit data...
shell.sh Loading commit data...
util.sh Loading commit data...