Fix rinv argument parsing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1e48cdd307
commit
fde4639101
@ -577,7 +577,7 @@ sub inv {
|
||||
);
|
||||
$SIG{__WARN__} = 'DEFAULT';
|
||||
|
||||
if(@ARGV) {
|
||||
if(@ARGV > 1) {
|
||||
xCAT::SvrUtils::sendmsg("Invalid arguments: @ARGV", $output_handler);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user