We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2dbaa5 commit dda5afcCopy full SHA for dda5afc
1 file changed
files/run_root.sh
@@ -9,9 +9,8 @@ get_uid()
9
}
10
11
if [ -f /system/xbin/su ] ; then
12
- /system/xbin/su
13
if [ `get_uid` eq 0 ] ; then
14
- $1
+ /system/xbin/su -c "$1"
15
exit 0
16
fi
17
0 commit comments