From 9740b120083a4e76a9ad1cc5309b93437a399503 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 13 Aug 2009 09:36:04 +0000 Subject: [PATCH] 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 --- 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 b790e04be..934e89862 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -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 }