Skip to content

Commit 07bd542

Browse files
committed
Fix webhook detection
1 parent ace36e7 commit 07bd542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dobackup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo "removing local archive"
2929
rm $FILE_NAME
3030
echo "done"
3131

32-
if [ -n $WEBHOOK_URL ]; then
32+
if [ -n "$WEBHOOK_URL" ]; then
3333
echo "notifying ${WEBHOOK_URL}"
3434
curl -m 10 --retry 5 $WEBHOOK_URL
3535
fi

0 commit comments

Comments
 (0)