mirror of https://github.com/schoebel/mars
marsadm: fix set-link source
This commit is contained in:
parent
c7fa35ae5f
commit
00d4713aff
|
@ -1835,7 +1835,7 @@ if (!(-d $mars) && $cmd !~ m/(create|join)-cluster|cat/) {
|
|||
my $res = "";
|
||||
if ($cmd eq "show") {
|
||||
$res = shift @args;
|
||||
} elsif (!($cmd =~ m/^(create|leave|wait)-cluster|cat|[a-z]+-file$/)) {
|
||||
} elsif (!($cmd =~ m/^(create|leave|wait)-cluster|cat|[a-z]+-file|set-[a-z]+$/)) {
|
||||
$res = shift @args || helplist "resource argument is missing\n";
|
||||
check_id($res);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue