ceph-debugpack: fix bashism of {1..10}

* replaces {1..10} with $(seq 10)
* fixes 772220@bugs.debian.org

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
Kefu Chai 2015-01-23 10:52:58 +08:00
parent 6f44f7a0a9
commit 2f9b3bdcd3

View File

@ -22,7 +22,7 @@ usage_exit() {
wait_pid_exit() {
pid=$1
for i in {1..10}; do
for i in $(seq 10); do
[ -e /proc/$pid ] || return
sleep 1
done