]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_common.sh: fix syntax error 13419/head
authorDan Mick <dan.mick@redhat.com>
Tue, 14 Feb 2017 18:44:36 +0000 (10:44 -0800)
committerDan Mick <dan.mick@redhat.com>
Tue, 14 Feb 2017 18:44:36 +0000 (10:44 -0800)
Introduced by 299b7d06ac18c5cd30b8b65c7d25df9fc00287db
Fixes: http://tracker.ceph.com/issues/17826
Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/ceph_common.sh

index a8d4d5513f07db05357446c2a3615a780f35dc9a..69e9b066e8cb3b49be33e408ff206f8fcea49461 100644 (file)
@@ -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/[^-]*-//'`