From b8ebdb7b3bc39f8e92f3f726811e0c3da33685ce Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 20 Dec 2010 09:09:39 +0000 Subject: [PATCH] Fixed bug 3133969: getmacs/rneboot-> cannot handle error for rpower failure git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/lpar_netboot.expect | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server/sbin/lpar_netboot.expect b/xCAT-server/sbin/lpar_netboot.expect index 218ebcdac..68fb6c65c 100644 --- a/xCAT-server/sbin/lpar_netboot.expect +++ b/xCAT-server/sbin/lpar_netboot.expect @@ -2297,7 +2297,8 @@ if { $set_boot_order > 1 } { if { $rc } { if { $retry_count == 3 } { - nc_msg "$PROGRAM Status: error from rpower command\n" + nc_msg "$PROGRAM Status: error from rpower command: $msg\n" + send_user "$PROGRAM Status: error from rpower command: $msg\n" exit 1 } sleep 1 @@ -2318,7 +2319,8 @@ if { $set_boot_order > 1 } { if { $rc } { if { $retry_count == 3 } { - nc_msg "$PROGRAM Status: error from rpower command\n" + nc_msg "$PROGRAM Status: error from rpower command: $msg\n" + send_user "$PROGRAM Status: error from rpower command: $msg\n" exit 1 } sleep 1