diff --git a/files/auto/autopause-fcns.sh b/files/auto/autopause-fcns.sh index 975227cd..79096b95 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.*$ ]] + [[ $( ps -ax -o stat,comm | grep 'java' | awk '{ print $1 }') =~ ^(S|T).*$ ]] } java_process_exists() {