Revert "marsadm: fix corner case of "all""

This reverts commit ea804c111a.
This commit is contained in:
Thomas Schoebel-Theuer 2020-08-01 07:19:04 +02:00
parent 71d8a9ecce
commit 201648d414
1 changed files with 1 additions and 1 deletions

View File

@ -8278,7 +8278,7 @@ sub expand_res_list {
my ($cmd, $res) = @_;
my @res_list=();
if ($res eq "all" && $cmd !~ m/show|cat|cluster|set-link|delete-file/) {
@res_list = get_all_resources();
@res_list = get_member_resources();
} elsif ($res =~ m/,/) {
@res_list = split(",", $res);
}