diff --git a/gitea-updater b/gitea-updater index 99cc68c..983a7c4 100644 --- a/gitea-updater +++ b/gitea-updater @@ -21,7 +21,7 @@ key= # set your chat id here chat_id= -function send_message { +function send_message() { if [ $# -eq 0 ] then echo "No argument supplied. Please specify the message to send." @@ -30,7 +30,7 @@ function send_message { fi } -function update_gitea { +function update_gitea() { systemctl stop gitea.service # download the latest version