From: Dan Mick Date: Tue, 14 Feb 2017 18:44:36 +0000 (-0800) Subject: ceph_common.sh: fix syntax error X-Git-Tag: v12.0.1~402^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fc28dcaed5f7f358718f22ac7e3b1ef79de3330f;p=ceph-ci.git ceph_common.sh: fix syntax error Introduced by 299b7d06ac18c5cd30b8b65c7d25df9fc00287db Fixes: http://tracker.ceph.com/issues/17826 Signed-off-by: Dan Mick --- diff --git a/src/ceph_common.sh b/src/ceph_common.sh index a8d4d5513f0..69e9b066e8c 100644 --- a/src/ceph_common.sh +++ b/src/ceph_common.sh @@ -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/[^-]*-//'`