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:
jbjohnso 2011-02-25 23:31:19 +00:00
parent 1e48cdd307
commit fde4639101

View File

@ -577,7 +577,7 @@ sub inv {
);
$SIG{__WARN__} = 'DEFAULT';
if(@ARGV) {
if(@ARGV > 1) {
xCAT::SvrUtils::sendmsg("Invalid arguments: @ARGV", $output_handler);
return;
}