From 668177b82634502c8ca91f7e186a32df57d174e2 Mon Sep 17 00:00:00 2001 From: bybai Date: Thu, 23 Jun 2016 22:07:16 -0400 Subject: [PATCH] issue1326 rmkit -f essl failed to remove the essl kit --- xCAT-server/lib/xcat/plugins/kit.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/kit.pm b/xCAT-server/lib/xcat/plugins/kit.pm index 81525eaef..357e65b91 100644 --- a/xCAT-server/lib/xcat/plugins/kit.pm +++ b/xCAT-server/lib/xcat/plugins/kit.pm @@ -1636,12 +1636,6 @@ sub rmkit # Remove this component from osimage.kitcomponents. Mark here. my $ret = xCAT::Utils->runxcmd({ command => ['rmkitcomp'], arg => ['-f','-i',$entry->{imagename}, $kitcompname] }, $request_command, 0, 1); - if ( $::RUNCMD_RC ) { - my %rsp; - push@{ $rsp{data} }, "Failed to remove kit component $kitcomponent from $entry->{imagename}"; - xCAT::MsgUtils->message( "E", \%rsp, $callback ); - return 1; - } } } }