Skip to content

Commit db9522d

Browse files
authored
Merge pull request #14 from devilbox/release-0.18
Fix unbound variable in silent mode
2 parents 657653a + e42f8aa commit db9522d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/create-vhost.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ VHOST_TLD="${3}"
1010
VHOST_TPL="${4}"
1111
CA_KEY="${5}"
1212
CA_CRT="${6}"
13-
VERBOSE="${7}"
14-
GENERATE_SSL="${8}"
13+
GENERATE_SSL="${7}"
14+
VERBOSE="${8:-}"
1515

1616
if [ "${GENERATE_SSL}" = "1" ]; then
1717
if [ ! -d "/etc/httpd/cert/mass" ]; then

data/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ if [ "${MASS_VHOST_ENABLE}" -eq "1" ]; then
222222
fi
223223

224224
# Create watcherd sub commands
225-
watcherd_add="create-vhost.sh '%%p' '%%n' '${MASS_VHOST_TLD}' '%%p/${MASS_VHOST_TPL}/' '${CA_KEY}' '${CA_CRT}' '${verbose}' '1'"
225+
watcherd_add="create-vhost.sh '%%p' '%%n' '${MASS_VHOST_TLD}' '%%p/${MASS_VHOST_TPL}/' '${CA_KEY}' '${CA_CRT}' '1' '${verbose}'"
226226
watcherd_del="rm /etc/httpd/vhost.d/%%n.conf"
227227
watcherd_tri="${HTTPD_RELOAD}"
228228

0 commit comments

Comments
 (0)