Fix string concatenation

pull/4/head
drunkendog 2023-08-14 15:01:58 +01:00
parent 6e8539b758
commit 8e33572053
1 changed files with 2 additions and 2 deletions

View File

@ -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}