3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/sshuttle/sudo.patch

14 lines
503 B
Diff
Raw Normal View History

diff --git a/sshuttle/client.py b/sshuttle/client.py
2019-03-06 00:37:33 +00:00
index cab5b1c..e89f8a6 100644
--- a/sshuttle/client.py
+++ b/sshuttle/client.py
2019-03-06 00:37:33 +00:00
@@ -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'])