From c9f650cacc0e644a592c7067a023299884dd2311 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 3 Jul 2025 00:59:17 +0200 Subject: [PATCH] Added /system/bin to PATH in bin/su.sh. --- bin/su.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/su.sh b/bin/su.sh index 25dfb645..e80d12d0 100755 --- a/bin/su.sh +++ b/bin/su.sh @@ -6,9 +6,9 @@ # as the default $HOME for the root user is / on Android devices # and we have no write permission for a /root there. # -# /system/bin PATH? +# Do I need/want /system/bin in $PATH? su -c "HOME=/data/root \ - PATH=/data/data/com.termux/files/usr/bin \ + PATH=/data/data/com.termux/files/usr/bin:/system/bin \ SHELL=/data/data/com.termux/files/usr/bin/zsh /data/data/com.termux/files/usr/bin/zsh -l && cd /data/root"