From: Sage Weil Date: Fri, 23 Jul 2010 23:05:20 +0000 (-0700) Subject: initscripts: fix type.id check in ceph.conf X-Git-Tag: v0.21~51 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3733b177eeba3e80a4526c0c22e21eeefddca062;p=ceph.git initscripts: fix type.id check in ceph.conf --- diff --git a/src/ceph_common.sh b/src/ceph_common.sh index ab6eef3434c9..5bd9b97f7671 100644 --- a/src/ceph_common.sh +++ b/src/ceph_common.sh @@ -129,7 +129,7 @@ get_name_list() { what="$what $all" ;; *) - if echo " $all " | egrep -v -q "( $type$id | $type.$id )"; then + if echo " " $all " " | egrep -v -q "( $type$id | $type.$id )"; then echo "$0: $type.$id not found ($conf defines \"$all\")" exit 1 fi