From cedd02c2df903fff9343c60b0f8f600620d4272a Mon Sep 17 00:00:00 2001 From: adrien Date: Tue, 9 Feb 2021 10:23:23 +0100 Subject: [PATCH] Add parenthesis to function to make sure that parameter used is the one from the function call --- bw-updater | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bw-updater b/bw-updater index bf5c4ad..89ac09d 100644 --- a/bw-updater +++ b/bw-updater @@ -24,7 +24,7 @@ chat_id= # set your username username= -function send_message { +function send_message() { if [ $# -eq 0 ] then echo "No argument supplied. Please specify the message to send."