From 7fda917b86684904329143bae3f803c03d479d56 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Tue, 30 Apr 2019 16:35:56 -0300 Subject: [PATCH] Fix addon.d error OUTFD derp --- scripts/flash_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/flash_script.sh b/scripts/flash_script.sh index 67ef8735f..f8f47e4cf 100644 --- a/scripts/flash_script.sh +++ b/scripts/flash_script.sh @@ -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 "************************"