diff --git a/start.sh b/start.sh index a9fc359..2585500 100644 --- a/start.sh +++ b/start.sh @@ -123,15 +123,15 @@ do then ip=$(curl -s https://api.ipify.org) send_webhook "[$host] VPN connection successfully established (IP: $ip).\nStarting script..." - if [ -f "./Microsoft-Rewards-bot/$vpn.json" ] + if [ -f "./accounts/$vpn.json" ] then if [ -z "$webhook" ]; then command_suffix="--accounts-file $vpn.json" else if [[ "$print_log_to_webhook" == 1 ]]; then - command_suffix="--accounts-file $vpn.json --discord $webhook --print-to-webhook" + command_suffix="--accounts-file ../accounts/$vpn.json --discord $webhook --print-to-webhook" else - command_suffix="--accounts-file $vpn.json --discord $webhook" + command_suffix="--accounts-file ../accounts/$vpn.json --discord $webhook" fi fi if grep -q "container=lxc" /proc/1/environ || grep -q "container=lxc-libvirt" /proc/1/environ; then