From 40ada950dd224d3388869ec3442c82214dc88b03 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Thu, 14 Oct 2010 19:07:39 +0000 Subject: [PATCH] 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 --- xCAT-server/etc/init.d/xcatd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/etc/init.d/xcatd b/xCAT-server/etc/init.d/xcatd index fae90dc77..a6ac8e57a 100755 --- a/xCAT-server/etc/init.d/xcatd +++ b/xCAT-server/etc/init.d/xcatd @@ -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