From 58048a474fb84b949d13377fe667fe1d5973e4e9 Mon Sep 17 00:00:00 2001 From: ligc Date: Wed, 2 May 2012 02:53:36 +0000 Subject: [PATCH] fix for bug 3522897: not allow chdef -t xx=yy to change all objects git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12437 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 b9a98c802..efb85c7f4 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -730,7 +730,7 @@ sub processArgs { my @tmplist; - if ($::command eq 'rmdef') + if (($::command eq 'rmdef') || ($::command eq 'chdef')) { my $rsp; $rsp->{data}->[0] =