You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
594 B

diff -uNr tsu-8.2.0/shell/tsu.sh tsu-8.2.0.mod/shell/tsu.sh
--- tsu-8.2.0/shell/tsu.sh 2020-05-02 07:00:17.000000000 +0300
+++ tsu-8.2.0.mod/shell/tsu.sh 2020-05-07 18:22:24.320425132 +0300
@@ -182,7 +182,7 @@
# Support for other shells.
# I dont have other shells to test
for SU_BINARY in '/su/bin/su' '/sbin/su' '/system/xbin/su' '/system/bin/su'; do
- if [ -e "$s" ]; then
+ if [ -e "$SU_BINARY" ]; then
# The --preserve-enivorment is used to copy variables
# Since we would have to detect busybox and others
exec "$SU_BINARY" -c "LD_PRELOAD=$LD_PRELOAD $STARTUP_SCRIPT"