]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemons: fixed merge
authorYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 28 Feb 2009 00:04:20 +0000 (16:04 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 28 Feb 2009 00:04:20 +0000 (16:04 -0800)
src/ceph-daemons

index 7f3ed97a4d886971aa6f407c7f1fe998b609e7e0..dbaff843bad97669188ab4abffe4dee5bac88175 100755 (executable)
@@ -107,7 +107,7 @@ if [[ $what = "" ]]; then
 fi
 
 for name in $what; do
-    type=`echo $item | cut -c 1-3`   # e.g. 'mon', if $item is 'mon1'
+    type=`echo $name | cut -c 1-3`   # e.g. 'mon', if $item is 'mon1'
     num=`echo $name | cut -c 4-`
     sections="$name $type global"