redirect: Fix compatibility with /product/bin/su
This commit is contained in:
parent
b49e63f8ef
commit
20161f3059
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ func (r *autoRedirect) Start() error {
|
|||
r.androidSu = true
|
||||
for _, suPath := range []string{
|
||||
"su",
|
||||
"/product/bin/su",
|
||||
"/system/bin/su",
|
||||
} {
|
||||
r.suPath, err = exec.LookPath(suPath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue