3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/sshuttle/sudo.patch
zimbatm 573ec2d9ae sshuttle: 0.71 -> 0.74
the tags are now in a different form

sshuttle is now a real python package
2016-01-11 11:58:04 +00:00

14 lines
539 B
Diff

diff --git a/sshuttle/client.py b/sshuttle/client.py
index 7a7b6d7..8dde615 100644
--- a/sshuttle/client.py
+++ b/sshuttle/client.py
@@ -158,7 +158,7 @@ class FirewallClient:
def __init__(self, method_name):
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'])