diff --git a/bml-tg-notify.sh b/bml-tg-notify.sh index 522d0db..d90369e 100755 --- a/bml-tg-notify.sh +++ b/bml-tg-notify.sh @@ -18,21 +18,26 @@ elif [ "$LOGIN" = "2" ] then echo 'Your username or password is incorrect.' echo 'Please check .env to see if theyre entered correctly.' - : + echo 'exiting..' + exit elif [ "$LOGIN" = "20" ] then echo 'Your account is locked!' echo 'Reset password from "https://www.bankofmaldives.com.mv/internetbanking/forgot_password"' - : + echo 'exiting..' + exit elif [ "$LOGIN" = "" ] then if [ "curl -s https://www.bankofmaldives.com.mv/" = "error code: 1020" ] then echo "Your IP is blocked from CF for DoS attack" echo "Increase delay and try again later" - : + echo 'exiting..' + exit else - : + echo 'Something went wrong..' + echo 'exiting..' + exit fi else echo 'Something went wrong..'