ghci: fix error handling
This commit is contained in:
parent
2e3dfae72d
commit
4783293a3d
|
@ -7,7 +7,7 @@ set -e
|
|||
export GH_NO_UPDATE_NOTIFIER=1
|
||||
|
||||
ghoutput=$(gh pr checks)
|
||||
if [ ! $exitcode -eq 0 ]; then
|
||||
if [ ! $? -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue