diff --git a/start.sh b/start.sh index c034f49..abeb971 100644 --- a/start.sh +++ b/start.sh @@ -145,10 +145,7 @@ do read -t 1 break else - echo "File ./Microsoft-Rewards-bot/$vpn.json does not exist, skipping starting bot for this VPN" - if [ -n "$webhook" ]; then - send_webhook "[$host] ERROR: File ./Microsoft-Rewards-bot/$vpn.json does not exist, skipping starting bot for this VPN" - fi + send_webhook "[$host] ERROR: File ./Microsoft-Rewards-bot/$vpn.json does not exist, skipping starting bot for this VPN" read -t 3 break fi @@ -163,9 +160,6 @@ do attempt=$(( $attempt + 1 )) done else - echo "ERROR: VPN name is empty" - if [ -n "$webhook" ]; then - send_webhook "[$host] ERROR: VPN name is empty" - fi + send_webhook "[$host] ERROR: VPN name is empty" fi done