diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/sshuttle/sudo.patch')
-rw-r--r-- | nixpkgs/pkgs/tools/security/sshuttle/sudo.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/sshuttle/sudo.patch b/nixpkgs/pkgs/tools/security/sshuttle/sudo.patch new file mode 100644 index 000000000000..6e8634bd4a1f --- /dev/null +++ b/nixpkgs/pkgs/tools/security/sshuttle/sudo.patch @@ -0,0 +1,13 @@ +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']) |