mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Fix monitor process not waiting for renice / taskset
This commit is contained in:
parent
5d839a76a0
commit
798e5dee56
@ -1027,7 +1027,7 @@ doRun() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ " $* " = *" --wait "* ]; then
|
||||
if [[ " $* " = *" --wait "* ]]; then
|
||||
# This requires bash 4+
|
||||
# $$ returns the main process, $BASHPID returns the current process
|
||||
kill -STOP $BASHPID # wait for caller to renice us
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user