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
This commit is contained in:
parent
191ba87638
commit
b8ebdb7b3b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user