]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
initscript: fix instance check, again
authorSage Weil <sage@newdream.net>
Sat, 30 May 2009 00:07:29 +0000 (17:07 -0700)
committerSage Weil <sage@newdream.net>
Sat, 30 May 2009 00:07:29 +0000 (17:07 -0700)
src/ceph_common.sh

index 4667713d65daa00e31a4fe48be8e445632d2f002..d3ff3f9decf4f5aaef6be1bb7fe722618354e387 100644 (file)
@@ -72,8 +72,8 @@ get_name_list() {
                what="$what $bit"
                ;;
            *)
-               if echo " $bit " | grep -v -q " $f "; then
-                   echo "$0: $type '$f' not found ($conf defines $bit)"
+               if echo " " $bit " " | grep -v -q " $f "; then
+                   echo "$0: $type '$f' not found ($conf defines "$bit")"
                    exit 1
                fi
                what="$what $f"