From 74b9e0251092531ad2ea9e1b3f8529bc2b8442fc Mon Sep 17 00:00:00 2001 From: backslashxx <118538522+backslashxx@users.noreply.github.com> Date: Mon, 10 Feb 2025 23:17:21 +0800 Subject: [PATCH] scripts/action: do NOT sleep on KSU_NEXT ksu next does NOT auto close --- module/action.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action.sh b/module/action.sh index 30a5363..a1290c0 100644 --- a/module/action.sh +++ b/module/action.sh @@ -18,7 +18,7 @@ bindhosts_sh() { # print exec time echo "[+] execution time: $(( $(date +%s) - start_time ))s" # 2s sleep on APatch on KernelSU - if [ -z "$MMRL" ] && { [ "$KSU" = "true" ] || [ "$APATCH" = "true" ]; }; then + if [ -z "$MMRL" ] && [ -z "$KSU_NEXT" ] && { [ "$KSU" = "true" ] || [ "$APATCH" = "true" ]; }; then sleep 2 fi # exit clean