mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-20 10:10:22 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user