Syntaxerror marsadm

This commit is contained in:
jmann 2011-10-19 13:52:50 +02:00 committed by Thomas Schoebel-Theuer
parent d397640515
commit 59af89b6f9

View File

@ -222,7 +222,7 @@ sub create_cluster {
sub join_cluster {
my ($cmd, $peer, $force) = @_;
if(glob("$mars/resource-*") or glob("$mars/ips/*") {
if(glob("$mars/resource-*") or glob("$mars/ips/*")) {
die "Sorry, some resources already exist!\nThis is dangerous!\nIf you are sure that no resource clash is possible, re-invoke this command with '--force' option\n" unless ($force and $force =~ m/--force/);
}
print "joining cluster via rsync (peer='$peer')\n";