ghci: fix error handling

This commit is contained in:
Rob Watson 2021-07-27 20:31:27 +02:00
parent 2e3dfae72d
commit 4783293a3d
1 changed files with 1 additions and 1 deletions

View File

@ -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