mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 03:37:58 +00:00
Fix addon.d error OUTFD derp
This commit is contained in:
parent
e6bd5f2c40
commit
7fda917b86
@ -87,7 +87,7 @@ if [ -d /system/addon.d ]; then
|
||||
if [ -f /data/adb/magisk/addon.d.sh ]; then
|
||||
exec sh /data/adb/magisk/addon.d.sh "\$@"
|
||||
else
|
||||
OUTFD=\$(ps | grep -oE 'update(.*)' | grep -v 'grep' | cut -d" " -f3)
|
||||
OUTFD=\$(ps | grep -v 'grep' | grep -oE 'update(.*)' | cut -d" " -f3)
|
||||
ui_print() { echo -e "ui_print \$1\nui_print" >> /proc/self/fd/\$OUTFD; }
|
||||
|
||||
ui_print "************************"
|
||||
|
Loading…
x
Reference in New Issue
Block a user