diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 99439be00..e6fbcecd7 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -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);