diff --git a/start.sh b/start.sh index 6518772..208c115 100644 --- a/start.sh +++ b/start.sh @@ -120,9 +120,10 @@ function main() { console_log "[$host] Failed to connect to VPN: [$vpn]. Skipping to the next VPN." "error" fi done + return 0 } while true; do - main - : + main & + wait $! done \ No newline at end of file