Correction erreurs de syntaxe

This commit is contained in:
Axel 2024-09-09 23:49:55 +02:00
parent c9126681c9
commit 21f8b91986

View File

@ -40,7 +40,7 @@ then
fi fi
if [ use_proxy = 0] if [ $use_proxy = 0 ]
then then
# Ne pas utiliser de proxy # Ne pas utiliser de proxy
curl \ curl \
@ -50,7 +50,7 @@ then
-H "Tags: $tag" \ -H "Tags: $tag" \
-d "$body" \ -d "$body" \
https://ntfy.axolito.fr/$topic https://ntfy.axolito.fr/$topic
elif [ use_proxy = 1 ] elif [ $use_proxy = 1 ]
then then
# Utiliser un proxy # Utiliser un proxy
curl \ curl \