mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 10:40:24 +00:00
for defect 3017573, change "-z" to "! -e".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -808,7 +808,7 @@ if [ "\$NFSROOT" = "1" ]; then
|
||||
# now that everything is mounted, lets do this
|
||||
# hmmm, apparently I'm checking this twice... so I'd better
|
||||
# be really sure the file is there.
|
||||
while [ -z \$NEWROOT/etc/init.d/statelite ]
|
||||
while [ ! -e \$NEWROOT/etc/init.d/statelite ]
|
||||
do
|
||||
echo "\$NEWROOT/etc/init.d/statelite does not exist in image!"
|
||||
shell
|
||||
|
@@ -836,7 +836,7 @@ if [ "\$NFSROOT" = "1" ]; then
|
||||
# now that everything is mounted, lets do this
|
||||
# hmmm, apparently I'm checking this twice... so I'd better
|
||||
# be really sure the file is there.
|
||||
while [ -z \$NEWROOT/etc/init.d/statelite ]
|
||||
while [ ! -e \$NEWROOT/etc/init.d/statelite ]
|
||||
do
|
||||
echo "\$NEWROOT/etc/init.d/statelite does not exist in image!"
|
||||
shell
|
||||
|
@@ -913,7 +913,7 @@ if [ "\$NFSROOT" = "1" ]; then
|
||||
# now that everything is mounted, lets do this
|
||||
# hmmm, apparently I'm checking this twice... so I'd better
|
||||
# be really sure the file is there.
|
||||
while [ -z \$NEWROOT/etc/init.d/statelite ]
|
||||
while [ ! -e \$NEWROOT/etc/init.d/statelite ]
|
||||
do
|
||||
echo "\$NEWROOT/etc/init.d/statelite does not exist in image!"
|
||||
shell
|
||||
|
Reference in New Issue
Block a user