Fix string concatenation
parent
6e8539b758
commit
8e33572053
|
@ -3,7 +3,7 @@
|
||||||
. /etc/backup.conf
|
. /etc/backup.conf
|
||||||
|
|
||||||
if [ ! -z "$HEALTHCHECK_URL" ]; then
|
if [ ! -z "$HEALTHCHECK_URL" ]; then
|
||||||
curl -L $HEALTHCHECK_URL + '/start'
|
curl -L "{$HEALTHCHECK_URL}/start"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# some helpers and error handling:
|
# some helpers and error handling:
|
||||||
|
@ -68,7 +68,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$HEALTHCHECK_URL" ]; then
|
if [ ! -z "$HEALTHCHECK_URL" ]; then
|
||||||
curl -L $HEALTHCHECK_URL + "/{$global_exit}"
|
curl -L "{$HEALTHCHECK_URL}/{$global_exit}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit ${global_exit}
|
exit ${global_exit}
|
Loading…
Reference in New Issue