mirror of
https://passt.top/passt
synced 2024-11-05 20:31:11 +00:00
b323e5f439
We use the [ "$x" -eq "$x" ] syntax to check if $x is a number. The behaviour is clearly implied by POSIX, but some shells might actually report the (intended) error, and dash floods script.log with "Illegal number" error messages. Hide them. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> |
||
---|---|---|
.. | ||
context | ||
layout | ||
perf_report | ||
setup | ||
term | ||
test | ||
util | ||
video |