From cb9f712d6ed212425814b6c0970f682e40bed829 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 30 Aug 2011 07:55:06 +0000 Subject: [PATCH] fix for bug 3388874: mkdef handle existing objects git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index d1b762be4..8d484564f 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -1144,6 +1144,7 @@ sub defmk "To change the existing definition use the \'chdef\' command."; xCAT::MsgUtils->message("E", $rsp, $::callback); $error = 1; + delete $::FINALATTRS{$obj}; next; }