mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
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:
parent
6f44f7a0a9
commit
2f9b3bdcd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user