Files
vpndock/vpn-node/sudo-wrapper.sh
Malin 88b2db93d2 fix: remove env -i, add recursion depth guard in sudo wrapper
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>
2026-03-12 16:03:50 +01:00

1.8 KiB