你能否提出为什么下面的代码会进入无限循环 -
declare -i validationRetry=5
while [ $validationRetry > 0 ]; do
echo "hello$validationRetry"
validationRetry=$validationRetry-1
if [ $validationRetry > 2 ]; then
validationRetry=0
fi
echo "Hello$validationRetry"
done