postgresql: Update from 9.6.2 to 9.6.3
[termux-packages] / packages / termux-tools / su
... / ...
CommitLineData
1#!/data/data/com.termux/files/usr/bin/sh
2
3unset LD_LIBRARY_PATH
4
5for p in /system/xbin/su /system/bin/su /su/bin/su /sbin/su /magisk/.core/bin/su
6do
7 if [ -x $p ]; then
8 # The su tool may require programs in PATH:
9 PATH=/sbin/su:/su/bin:/su/xbin:/system/bin:/system/xbin \
10 exec $p "$@"
11 fi
12done
13
14echo "No su program found on this device. Termux"
15echo "does not supply tools for rooting, see e.g."
16echo "http://www.androidcentral.com/root for"
17echo "information about rooting Android."
18exit 1