]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
initscripts: fix type.id check in ceph.conf
authorSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 23:05:20 +0000 (16:05 -0700)
committerSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 23:05:20 +0000 (16:05 -0700)
src/ceph_common.sh

index ab6eef3434c98bd7d8bdaa869cc61e3f24fc1dd1..5bd9b97f7671320fece8a18ab9231359a34ee38d 100644 (file)
@@ -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