fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
14e605511d
commit
ada63f1faf
@ -3615,9 +3615,11 @@ sub preprocess_request {
|
||||
next;
|
||||
} elsif ($arg =~ /^-i$/) {
|
||||
my $int = shift @args;
|
||||
if (defined($int) && $int =~ /^[eth|en]\d$/) {
|
||||
if (defined($int) && $int =~ /^(eth|en)\d$/) {
|
||||
next;
|
||||
}
|
||||
} elsif ($arg eq '') {
|
||||
next;
|
||||
}
|
||||
$usage_string= ":Error arguments\n";
|
||||
$usage_string .=xCAT::Usage->getUsage($command);
|
||||
|
Loading…
Reference in New Issue
Block a user