mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-12 13:22:28 +00:00
This reverts commit 4df1db9535
.
This commit is contained in:
parent
4df1db9535
commit
2cdb7b2da7
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue