fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6fb2e6b8be
commit
51d77e198c
@ -3660,9 +3660,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