Skip to content

Commit 20161f3

Browse files
committed
redirect: Fix compatibility with /product/bin/su
1 parent b49e63f commit 20161f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redirect_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func (r *autoRedirect) Start() error {
6969
r.androidSu = true
7070
for _, suPath := range []string{
7171
"su",
72+
"/product/bin/su",
7273
"/system/bin/su",
7374
} {
7475
r.suPath, err = exec.LookPath(suPath)

0 commit comments

Comments
 (0)