From 71ac4913b7c02d70389cdae79c55da5d91a0d0d2 Mon Sep 17 00:00:00 2001 From: zhanx Date: Wed, 13 May 2009 09:48:39 +0000 Subject: [PATCH] Fix 2791086 'rvitals reports bash syntax error for BPA nodes'. Only fixed in 2.3 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCcli.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-xCAT/xCAT/PPCcli.pm b/perl-xCAT/xCAT/PPCcli.pm index c125f1749..f97b5ebe6 100644 --- a/perl-xCAT/xCAT/PPCcli.pm +++ b/perl-xCAT/xCAT/PPCcli.pm @@ -321,6 +321,10 @@ sub lsrefcode { } elsif($res eq 'lpar'){ $cmds[0] = sprintf($lsrefcode{$res}, $d1, $d2); } + else + { + return [[0,'Not available']]; + } ################################### # Send command