From d68316e46778dc3c825e4a8b50645d570bd2e73f Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 5 Mar 2012 02:03:12 +0000 Subject: [PATCH] modify the output about 'lsvm ' git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPvm.pm | 3 +++ 1 file changed, 3 insertions(+) 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