fix CI failing (#18)

This commit is contained in:
Sven Vogel 2024-08-27 19:50:09 +02:00
parent 201e991ac4
commit 7ad138dc00
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ function enter-section() {
printf "\\n"
eval "$2"
if [ $? -neq $3 ]; then
exit_status=$?
if ! [ $exit_status -eq $3 ]; then
abort "command: $2 failed in section: $1"
fi