diff --git a/perl-xCAT/xCAT/FSPflash.pm b/perl-xCAT/xCAT/FSPflash.pm index 7778b4017..a2ab02ce8 100644 --- a/perl-xCAT/xCAT/FSPflash.pm +++ b/perl-xCAT/xCAT/FSPflash.pm @@ -352,7 +352,11 @@ sub rflash { } my $res = xCAT::FSPUtils::fsp_api_action($request, $name, $d, $action, 0, $request->{opt}->{d} ); - push(@value,[$name, @$res[1], @$res[2]]); + if ($action eq "acdl" && @$res[2] eq '0') { + push(@value, [$name, "Success", '0']); + } else { + push(@value,[$name, @$res[1], @$res[2]]); + } return (\@value); }