From fde4639101d769e3d4652b498ae32579f100f114 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 25 Feb 2011 23:31:19 +0000 Subject: [PATCH] Fix rinv argument parsing git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index b0a9ae8ae..7deac9a67 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -577,7 +577,7 @@ sub inv { ); $SIG{__WARN__} = 'DEFAULT'; - if(@ARGV) { + if(@ARGV > 1) { xCAT::SvrUtils::sendmsg("Invalid arguments: @ARGV", $output_handler); return; }