Skip to content

Commit 4bd6ec8

Browse files
committed
Remove broken su fallback.
Was broken by passing environment variable PYTHONPATH to process. Will fix this if there is a use case for it.
1 parent ba1cf58 commit 4bd6ec8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sshuttle/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ def __init__(self, port_v6, port_v4, subnets_include, subnets_exclude,
298298
argvbase += ['--syslog']
299299
argv_tries = [
300300
['sudo', '-p', '[local sudo] Password: '] + argvbase,
301-
['su', '-c', ' '.join(argvbase)],
302301
argvbase
303302
]
304303

0 commit comments

Comments
 (0)