Skip to content

Commit

Permalink
Revert "With autopause check for process in stopped or sleep state (#…
Browse files Browse the repository at this point in the history
…1963)" (#1964)

This reverts commit 4df1db9.
  • Loading branch information
itzg authored Feb 15, 2023
1 parent 4df1db9 commit 2cdb7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/auto/autopause-fcns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2cdb7b2

Please sign in to comment.