diff options
author | Sage Weil <sage@newdream.net> | 2010-10-06 16:32:43 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-07 07:28:58 -0700 |
commit | a7deada2294a8be3f0b563573bb9c0c4028142db (patch) | |
tree | 6523da76e385667d5d7e55fdda07eba3cff8fb2b /src/ceph_common.sh | |
parent | a18213d6fab3910ed75c838a150573b5456d8cec (diff) | |
download | ceph-a7deada2294a8be3f0b563573bb9c0c4028142db.tar.gz |
init-ceph: DTRT when cconf returns host = localhost
cconf behavior was just changed by bcf1bdef56a256d4857dd4f9d859acca631cc347
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/ceph_common.sh')
-rw-r--r-- | src/ceph_common.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ceph_common.sh b/src/ceph_common.sh index 5bd9b97f767..fa3f867c790 100644 --- a/src/ceph_common.sh +++ b/src/ceph_common.sh @@ -46,6 +46,7 @@ verify_conf() { check_host() { # what host is this daemon assigned to? host=`$CCONF -c $conf -i $id -t $type host` + [ "$host" = "localhost" ] && host="" ssh="" rootssh="" dir=$PWD |