diff --git a/src/main/java/com/stericson/RootShell/RootShell.java b/src/main/java/com/stericson/RootShell/RootShell.java index f78d254..a12af73 100644 --- a/src/main/java/com/stericson/RootShell/RootShell.java +++ b/src/main/java/com/stericson/RootShell/RootShell.java @@ -413,11 +413,11 @@ public void commandOutput(int id, String line) { } /** - * @return true if BusyBox was found. + * @return true if BusyBox or Toybox was found. */ public static boolean isBusyboxAvailable() { - return (findBinary("busybox", true)).size() > 0; + return (findBinary("busybox", true)).size() > 0 || (findBinary("toybox", true)).size() > 0; } /**