diff --git a/perl-xCAT/xCAT/FSPvm.pm b/perl-xCAT/xCAT/FSPvm.pm index e50c5d944..6f349bfc3 100644 --- a/perl-xCAT/xCAT/FSPvm.pm +++ b/perl-xCAT/xCAT/FSPvm.pm @@ -1091,6 +1091,9 @@ sub list { $l_string = $value; } } + if ($l_string =~ /^\n$/) { + next; + } push @result, [$node_name, $l_string, $Rc]; $l_string = "\n"; } # end of while