Revert "With autopause check for process in stopped or sleep state (#1963)" (#1964)

This reverts commit 4df1db9535.
This commit is contained in:
Geoff Bourne 2023-02-14 21:22:51 -06:00 committed by GitHub
parent 4df1db9535
commit 2cdb7b2da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {