From fc28dcaed5f7f358718f22ac7e3b1ef79de3330f Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 14 Feb 2017 10:44:36 -0800 Subject: [PATCH] ceph_common.sh: fix syntax error Introduced by 299b7d06ac18c5cd30b8b65c7d25df9fc00287db Fixes: http://tracker.ceph.com/issues/17826 Signed-off-by: Dan Mick --- src/ceph_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/[^-]*-//'`