after get the lpar state , add ([string compare off] == 0)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2010-01-08 09:12:07 +00:00
parent c50f1c15b5
commit e0e40e4b6c

View File

@ -2618,7 +2618,7 @@ if { (!$noboot) && ( $rc == 0 ) } {
#
# separate the nodename from the query status
#
if { ([string compare "$msg" "Off"] == 0) || ([string compare "$msg" "Not Activated"] == 0) } {
if { ([string compare "$msg" "Off"] == 0) || ([string compare "$msg" "off"] == 0) || ([string compare "$msg" "Not Activated"] == 0) } {
set done 1
}