marsadm: fix leave-cluster

This commit is contained in:
Thomas Schoebel-Theuer 2014-09-04 07:06:21 +02:00
parent 2f9786ee8b
commit 04dadb50ef
1 changed files with 1 additions and 1 deletions

View File

@ -1249,7 +1249,7 @@ sub join_cluster {
sub leave_cluster {
my ($cmd) = @_;
my $check = "/mars/resource-*/*-$host";
my $check = "/mars/resource-*/data-$host";
ldie "I am member of some resources\n" if glob($check) && !$force;
_create_delete("$mars/ips/$host");
}