Skip to content

Commit

Permalink
su: fix missing '/' of /sbin/su
Browse files Browse the repository at this point in the history
Fixes #68 .
  • Loading branch information
2096779623 authored Jan 3, 2024
1 parent 312859d commit fb7981a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/su.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

unset LD_LIBRARY_PATH LD_PRELOAD

for p in /debug_ramdisk/su sbin/su /system/sbin/su /system/bin/su /system/xbin/su /su/bin/su /magisk/.core/bin/su
for p in /debug_ramdisk/su /sbin/su /system/sbin/su /system/bin/su /system/xbin/su /su/bin/su /magisk/.core/bin/su
do
if [ -x $p ]; then
# The su tool may require programs in PATH:
Expand Down

0 comments on commit fb7981a

Please sign in to comment.