diff --git a/start.sh b/start.sh index 5cddf04..36dc7a6 100644 --- a/start.sh +++ b/start.sh @@ -83,7 +83,7 @@ do then echo "VPN connection successfully established" echo "Starting script..." - if [ -d "./Microsoft-Rewards-bot/$vpn.json" ] + if [ -f "./Microsoft-Rewards-bot/$vpn.json" ] then gnome-terminal -- sh -c "cd Microsoft-Rewards-bot && python ms_rewards_farmer.py --dont-check-for-updates --shuffle --session --superfast --on-finish exit --no-webdriver-manager --accounts-file $vpn.json --discord $webhook; exit; exec bash" & read -t 2