env -i was stripping auth/session env vars the child process needs to complete the VPN connection. Replace with PUREVPN_SUDO_DEPTH counter that stops recursion at depth 2 while preserving parent environment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.8 KiB
1.8 KiB