depot/third_party/nixpkgs/pkgs/tools/security/sshuttle/sudo.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

13 lines
492 B
Diff

diff --git i/sshuttle/client.py w/sshuttle/client.py
index 29c3dfa..da813ed 100644
--- i/sshuttle/client.py
+++ w/sshuttle/client.py
@@ -209,7 +209,7 @@ class FirewallClient:
def __init__(self, method_name, sudo_pythonpath):
self.auto_nets = []
- argvbase = ([sys.executable, sys.argv[0]] +
+ argvbase = ([sys.argv[0]] +
['-v'] * (helpers.verbose or 0) +
['--method', method_name] +
['--firewall'])