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
This commit is contained in:
ligc 2011-08-30 07:55:06 +00:00
parent e93a1a5f5a
commit cb9f712d6e

View File

@ -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;
}