Correct leap hook closing brackets

Unfortunately the previous patch improperly
applied brackets in two places.

Change-Id: I3ce8c17226282c44a8de734aaf93f8f84d10e213
This commit is contained in:
Jesse Pretorius 2017-08-30 08:46:26 +01:00
parent 33fb2d2ffa
commit 7efc8d6c43

View File

@ -62,7 +62,7 @@ RUN_TASKS+=("lxc-hosts-setup.yml")
RUN_TASKS+=("lxc-containers-create.yml")
# Post-setup-hosts hook
if [[ -n ${POST_SETUP_HOSTS_HOOK+x} ][; then
if [[ -n ${POST_SETUP_HOSTS_HOOK+x} ]]; then
RUN_TASKS+=("$POST_SETUP_HOSTS_HOOK")
fi
@ -92,7 +92,7 @@ if [[ -n ${POST_SETUP_INFRASTRUCTURE_HOOK+x} ]]; then
fi
# Pre-setup-openstack hook
if [[ -n ${PRE_SETUP_OPENSTACK_HOOK+x} ]; then
if [[ -n ${PRE_SETUP_OPENSTACK_HOOK+x} ]]; then
RUN_TASKS+=("$PRE_SETUP_OPENSTACK_HOOK")
fi