2
0
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:
mxi1
2010-06-18 02:59:31 +00:00
parent ff3e926e69
commit f8fab79782
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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