Skip to content

Commit 161f864

Browse files
committed
scripts/status: fix active status
Signed-off-by: KOWX712 <leecc0503@gmail.com>
1 parent 97f19fe commit 161f864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/status.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ until [ "$(getprop sys.boot_completed)" = "1" ]; do
4141
sleep 1
4242
done
4343

44-
if kpatch hello >/dev/null 2>&1; then
44+
if [ -n "$(kpatch hello)" ]; then
4545
KPM_COUNT="$(kpatch kpm num 2>/dev/null || echo 0)"
4646
[ -z "$KPM_COUNT" ] && KPM_COUNT=0
4747

0 commit comments

Comments
 (0)