Fix syntax in setup_horizon

This patch fixes syntax errors in setup_horizon.sh.

Change-Id: Iea507bdf65718ca2f4ed423d3c2ad77a61869547
This commit is contained in:
Roger Luethi
2015-11-08 15:11:55 +01:00
parent add2df47a3
commit 8aa79d71b6

View File

@@ -60,8 +60,8 @@ function check_apache_service {
until service apache2 status | grep 'not running'; do until service apache2 status | grep 'not running'; do
sudo service apache2 stop sudo service apache2 stop
sleep 10 sleep 10
i ++ i=$((i + 1))
if [ $i -gt 3] if [ $i -gt 3 ]
then then
break break
fi fi