fix if stmt

main
Ayush Mukherjee 3 years ago
parent 20a930b985
commit c9cc24f2b5

@ -62,7 +62,8 @@ done
# write config file # write config file
if [[ $consultype -eq "client" ]] then if [ $consultype -eq "client" ]
then
cat >> /etc/consul.d/consul.hcl <<EOF cat >> /etc/consul.d/consul.hcl <<EOF
datacenter = "dc1" datacenter = "dc1"

Loading…
Cancel
Save