Commit 7fda917b authored by osm0sis's avatar osm0sis Committed by John Wu

Fix addon.d error OUTFD derp

parent e6bd5f2c
...@@ -87,7 +87,7 @@ if [ -d /system/addon.d ]; then ...@@ -87,7 +87,7 @@ if [ -d /system/addon.d ]; then
if [ -f /data/adb/magisk/addon.d.sh ]; then if [ -f /data/adb/magisk/addon.d.sh ]; then
exec sh /data/adb/magisk/addon.d.sh "\$@" exec sh /data/adb/magisk/addon.d.sh "\$@"
else 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() { echo -e "ui_print \$1\nui_print" >> /proc/self/fd/\$OUTFD; }
ui_print "************************" ui_print "************************"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment