From e64801d53412b25dbb9c6058090d4f2ebd89737a Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 15 Apr 2010 08:49:20 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 6109afc16..63da3d81f 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -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)) {