mirror of
https://github.com/ceph/ceph
synced 2025-01-29 06:24:03 +00:00
tests: ceph-helpers.sh use expr instead of (( ))
Because (( timer++ )) is mistaken by set -e to not be a successful command, use expr instead. Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
parent
d2172b0e89
commit
64944d4105
@ -990,7 +990,7 @@ function wait_for_clean() {
|
||||
num_active_clean=$cur_active_clean
|
||||
fi
|
||||
sleep 1
|
||||
(( timer++ ))
|
||||
timer=$(expr $timer + 1)
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user