Missing fi 75/47475/1
authorBryan Sullivan <bryan.sullivan@att.com>
Mon, 20 Nov 2017 04:56:34 +0000 (20:56 -0800)
committerBryan Sullivan <bryan.sullivan@att.com>
Mon, 20 Nov 2017 04:56:34 +0000 (20:56 -0800)
JIRA: VES-2

Change-Id: I4d22323a903be585d8efb889d0b96d9687a008a0
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
tools/ves-setup.sh

index b37662b..19932fe 100644 (file)
@@ -276,7 +276,7 @@ EOF
   if [[ $(grep -c $ves_hostname /etc/hosts) -eq 0 ]]; then
     log "add to /etc/hosts: $ves_kafka_host $ves_hostname"
     echo "$ves_kafka_host $ves_hostname" | sudo tee -a /etc/hosts
-
+  fi
   log "restart collectd to apply updated config"
   sudo systemctl restart collectd
 }