From 68ccadb06fa63a1c6d6a6c233d03dc721df92fae Mon Sep 17 00:00:00 2001 From: Evgenii Date: Sat, 11 Sep 2021 02:04:50 +0300 Subject: [PATCH] fix --- scripts/status.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/status.sh b/scripts/status.sh index a0542eb..762709b 100755 --- a/scripts/status.sh +++ b/scripts/status.sh @@ -249,9 +249,9 @@ MoonrakerTelegramBot_status(){ mtbcount=$(expr $mtbcount + 1) fi done - if [ "$mtbccount" == "${#MoonrakerTelegramBot_data[*]}" ]; then + if [ "$mtbcount" == "${#MoonrakerTelegramBot_data[*]}" ]; then MOONRAKERTELEGRAMBOT_STATUS="${green}Installed!${default} " - elif [ "$klsccount" == 0 ]; then + elif [ "$mtbcount" == 0 ]; then MOONRAKERTELEGRAMBOT_STATUS="${red}Not installed!${default} " else MOONRAKERTELEGRAMBOT_STATUS="${yellow}Incomplete!${default} "