From 8e3357205341a5471279537b37be75c4ddbee714 Mon Sep 17 00:00:00 2001 From: drunkendog Date: Mon, 14 Aug 2023 15:01:58 +0100 Subject: [PATCH] Fix string concatenation --- backup/backup-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/backup-script.sh b/backup/backup-script.sh index f1639ae..e0a4c84 100644 --- a/backup/backup-script.sh +++ b/backup/backup-script.sh @@ -3,7 +3,7 @@ . /etc/backup.conf if [ ! -z "$HEALTHCHECK_URL" ]; then - curl -L $HEALTHCHECK_URL + '/start' + curl -L "{$HEALTHCHECK_URL}/start" fi # some helpers and error handling: @@ -68,7 +68,7 @@ else fi if [ ! -z "$HEALTHCHECK_URL" ]; then - curl -L $HEALTHCHECK_URL + "/{$global_exit}" + curl -L "{$HEALTHCHECK_URL}/{$global_exit}" fi exit ${global_exit} \ No newline at end of file