nixpkgs/pkgs/tools/security/sshuttle/sudo.patch
2019-03-06 11:37:33 +11:00

14 lines
503 B
Diff

diff --git a/sshuttle/client.py b/sshuttle/client.py
index cab5b1c..e89f8a6 100644
--- a/sshuttle/client.py
+++ b/sshuttle/client.py
@@ -192,7 +192,7 @@ class FirewallClient:
self.auto_nets = []
python_path = os.path.dirname(os.path.dirname(__file__))
- argvbase = ([sys.executable, sys.argv[0]] +
+ argvbase = ([sys.argv[0]] +
['-v'] * (helpers.verbose or 0) +
['--method', method_name] +
['--firewall'])