From 5b0b967a300b935a1f2bf66ad6fbe38736bcd77b Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 1 Mar 2012 09:03:55 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/syslog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/syslog b/xCAT/postscripts/syslog index 5d1ed1fc9..6eb91f89a 100755 --- a/xCAT/postscripts/syslog +++ b/xCAT/postscripts/syslog @@ -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