2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-27 23:01:12 +00:00

fixed a typo in DBobjectdefs.pm. caused lsdef -t node -o can not support regular expression

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3992 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc
2009-08-13 09:36:04 +00:00
parent db25b8cac4
commit 9740b12008

View File

@@ -528,7 +528,7 @@ sub processArgs
}
elsif ($::opt_t eq 'node')
{
if (($::command ne 'mkdef') && ($a =~ m/^\//))
if (($::command ne 'mkdef') && ($::opt_o =~ m/^\//))
{
@::clobjnames = &noderange($::opt_o, 1); #Use the "verify" option to support regular expression
}