diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index 44beca78a..69f7a780b 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -225,7 +225,7 @@ sub fsp_state_action { # output the prompt ################# #$outhash{ $node_name } = $res; - if( defined($res) ) { + if( @res ) { $res[0] =~ s/$node_name: //; } return( [$Rc,@res] );