mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
Merge pull request #13419 from dmick/wip-17826
ceph_common.sh: fix syntax error Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
1d27e61d47
@ -159,7 +159,7 @@ do_root_cmd_okfail() {
|
||||
get_local_daemon_list() {
|
||||
type=$1
|
||||
if [ -d "/var/lib/ceph/$type" ]; then
|
||||
for p in `find -L /var/lib/ceph/$type -mindepth 1 -maxdepth 1 -type d'`; do
|
||||
for p in `find -L /var/lib/ceph/$type -mindepth 1 -maxdepth 1 -type d`; do
|
||||
i=`basename $p`
|
||||
if [ -e "/var/lib/ceph/$type/$i/sysvinit" ]; then
|
||||
id=`echo $i | sed 's/[^-]*-//'`
|
||||
|
Loading…
Reference in New Issue
Block a user