Skip to content

Commit c69dc82

Browse files
committed
Merge pull request #12 from rattlehead666/master
added support for android 6
2 parents d708ae1 + ced588e commit c69dc82

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/stericson/RootShell/RootShell.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,11 @@ public void commandOutput(int id, String line) {
390390
}
391391

392392
/**
393-
* @return <code>true</code> if BusyBox was found.
393+
* @return <code>true</code> if BusyBox or Toybox was found.
394394
*/
395395
public static boolean isBusyboxAvailable()
396396
{
397-
return (findBinary("busybox")).size() > 0;
397+
return (findBinary("busybox")).size() > 0 || (findBinary("toybox")).size() > 0;
398398
}
399399

400400
/**

0 commit comments

Comments
 (0)