From e6327094cef01827677547b69980bc80bc462927 Mon Sep 17 00:00:00 2001 From: Shiham Abdul Rahman Date: Sun, 16 Oct 2022 16:32:27 +0500 Subject: [PATCH] work from any dir yaayyy --- bml-status-tg-bot | 1 + 1 file changed, 1 insertion(+) diff --git a/bml-status-tg-bot b/bml-status-tg-bot index d744e43..6c3ad43 100755 --- a/bml-status-tg-bot +++ b/bml-status-tg-bot @@ -1,4 +1,5 @@ #!/bin/bash +cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 COUNT=0 while true; do