From 2cdb7b2da734f991b303d716f85665eb284ac477 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Tue, 14 Feb 2023 21:22:51 -0600 Subject: [PATCH] Revert "With autopause check for process in stopped or sleep state (#1963)" (#1964) This reverts commit 4df1db95359566862adbb9f0b462f03f223089f3. --- files/auto/autopause-fcns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/auto/autopause-fcns.sh b/files/auto/autopause-fcns.sh index 79096b95..975227cd 100644 --- a/files/auto/autopause-fcns.sh +++ b/files/auto/autopause-fcns.sh @@ -5,7 +5,7 @@ current_uptime() { } java_running() { - [[ $( ps -ax -o stat,comm | grep 'java' | awk '{ print $1 }') =~ ^(S|T).*$ ]] + [[ $( ps -ax -o stat,comm | grep 'java' | awk '{ print $1 }') =~ ^S.*$ ]] } java_process_exists() {