mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-01 00:57:37 +00:00
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:
@@ -577,7 +577,7 @@ sub inv {
|
||||
);
|
||||
$SIG{__WARN__} = 'DEFAULT';
|
||||
|
||||
if(@ARGV) {
|
||||
if(@ARGV > 1) {
|
||||
xCAT::SvrUtils::sendmsg("Invalid arguments: @ARGV", $output_handler);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user