X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/5c7e02d7de6f58edefbee7b5c6479b5a34344777..bc094198c000cb600665877b747edcc2abab3fe2:/packages/termux-tools/su diff --git a/packages/termux-tools/su b/packages/termux-tools/su index bffa122a..5b474293 100755 --- a/packages/termux-tools/su +++ b/packages/termux-tools/su @@ -1,7 +1,8 @@ #!/bin/sh if [ -x /system/xbin/su ]; then - /system/xbin/su $@ + # The su tool may require programs from /system/bin in path: + PATH=/system/bin:$PATH /system/xbin/su $@ else echo "There is no su program on this device. Termux" echo "does not supply tools for rooting, see e.g."