Closed pschmitt closed 4 years ago
Which android version are you on?
This will not work for some Android versions #57
I will merge this now.. and work out the problem later..
Which android version are you on?
10
This will not work for some Android versions #57
Hm, I don't see how this issue relates. But I get your point, How about adding a check for the current android version?
Right now
LD_PRELOAD
andLD_LIBRARY_PATH
get unset when invokingsudo -E
which should not be the case IMHO. If as a user I want to preserve the env by explicitly specifying-E
I expect it to preserve it ;)Unsetting them results in not being able to run scripts whose shebang rely on
LD_PRELOAD
being correctly set.Also there seems to be an issue with
--preserve-environment
:PATH
does not currently get preserved.Example:
whoami.sh