Only KSU auto-closes if successful now

This commit is contained in:
Chris Renshaw
2024-12-07 14:38:02 -04:00
committed by GitHub
parent 8ddab06840
commit c635a9e3ba

View File

@@ -8,8 +8,8 @@ sh $MODPATH/autopif2.sh || exit 1
echo -e "\nDone!" echo -e "\nDone!"
# warn since Magisk/KernelSU's implementation automatically closes if successful # warn since KernelSU's implementation automatically closes if successful
if [ "$APATCH" != "true" ]; then if [ "$KSU" = "true" ]; then
echo -e "\nClosing dialog in 20 seconds ..." echo -e "\nClosing dialog in 20 seconds ..."
sleep 20 sleep 20
fi fi