Fix.
This commit is contained in:
6
start.sh
6
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user