Fix syntax error in the xcatd init.d script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2010-10-14 19:07:39 +00:00
parent f568b0bfc7
commit 40ada950dd

View File

@ -73,7 +73,7 @@ restart)
echo -n "Restarting xCATd "
$STATUS >& /dev/null
if [ "$?" == "0" ]; then
if ! nodels --version |grep 'Version 2.6'; #upgrade or downgrade from another major release, stop it just in case
if ! nodels --version |grep 'Version 2.6'; then #upgrade or downgrade from another major release, stop it just in case
$0 stop
fi
fi
@ -86,7 +86,7 @@ reload)
echo -n "Reloading xCATd "
$STATUS >& /dev/null
if [ "$?" == "0" ]; then
if ! nodels --version |grep 'Version 2.6'; #upgrade or downgrade from another major release, stop it just in case
if ! nodels --version |grep 'Version 2.6'; then #upgrade or downgrade from another major release, stop it just in case
$0 stop
fi
fi