From c635a9e3ba7b91e380f26ca9b52ac4f9192d63b0 Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Sat, 7 Dec 2024 14:38:02 -0400 Subject: [PATCH] Only KSU auto-closes if successful now --- module/action.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/action.sh b/module/action.sh index 54d93fb..dfe7486 100644 --- a/module/action.sh +++ b/module/action.sh @@ -8,8 +8,8 @@ sh $MODPATH/autopif2.sh || exit 1 echo -e "\nDone!" -# warn since Magisk/KernelSU's implementation automatically closes if successful -if [ "$APATCH" != "true" ]; then +# warn since KernelSU's implementation automatically closes if successful +if [ "$KSU" = "true" ]; then echo -e "\nClosing dialog in 20 seconds ..." sleep 20 fi