Remove broken su fallback.

Was broken by passing environment variable PYTHONPATH to process. Will
fix this if there is a use case for it.
This commit is contained in:
Brian May 2015-11-16 08:46:11 +11:00
parent ba1cf58a6c
commit 4bd6ec8f01

View File

@ -298,7 +298,6 @@ class FirewallClient:
argvbase += ['--syslog']
argv_tries = [
['sudo', '-p', '[local sudo] Password: '] + argvbase,
['su', '-c', ' '.join(argvbase)],
argvbase
]