fix: make assert_failure exit properly (#3415)
This commit is contained in:
@@ -173,6 +173,10 @@ function assert()
|
||||
else
|
||||
echo "mc: $func_name: $err"
|
||||
fi
|
||||
|
||||
if [ "$rv" -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit "$rv"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user