the object names are not checked if the -o flag is specified

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-04-15 08:49:20 +00:00
parent ac9ed7fc46
commit e64801d534

View File

@ -2651,7 +2651,7 @@ sub defls
{
# check the object names only if
# the object names are passed in through command line
if ($::objectsfrom_args || (($type eq 'node') && ($::opt_o || @::noderange)))
if ($::objectsfrom_args || $::opt_o || (($type eq 'node') && ($::opt_o || @::noderange)))
{
if (!grep(/^$obj$/, @allobjoftype))
{