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] =