fix for bug 3495915: env var SVLOCAL might be empty

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-03-01 09:03:55 +00:00
parent a2a499420c
commit 5b0b967a30

View File

@ -203,7 +203,7 @@ if [ -f /etc/xCATMN ]; then
goLocal=1
else
if [ $isSN -eq 1 ]; then
if [ $SVLOGLOCAL -eq 1 ]; then
if [ -n "$SVLOGLOCAL" ] && [ $SVLOGLOCAL -eq 1 ]; then
goLocal=1
fi
fi