labs: fix HTTP_EXCEPTIONS check
If HTTP_EXCEPTIONS is not 0, it is a string. In that case, the comparison "-ne 0" results in an error and the script aborts. Use string comparison instead. Change-Id: I2e9311e6e0577b213281eaa7b0227ca51d59368d
This commit is contained in:
parent
0a86fa84e0
commit
6bdf7e2e47
@ -593,7 +593,7 @@ while [ : ]; do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "${HTTP_EXCEPTIONS:-0}" -ne 0 ]; then
|
||||
if [ "${HTTP_EXCEPTIONS:-0}" != "0" ]; then
|
||||
echo "SUM ERROR HTTP exceptions: ${HTTP_EXCEPTIONS:-0}"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user