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
|
export GH_NO_UPDATE_NOTIFIER=1
|
||||||
|
|
||||||
ghoutput=$(gh pr checks)
|
ghoutput=$(gh pr checks)
|
||||||
if [ ! $exitcode -eq 0 ]; then
|
if [ ! $? -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue