This commit is contained in:
2023-06-20 15:47:43 +02:00
parent 1d5555de70
commit c00339f024

View File

@@ -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
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
fi
done