fix: Use pidwait on recent kernels
This commit is contained in:
parent
7ad09e15fb
commit
9b696e38ce
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ set -m
|
|||
)
|
||||
set +m
|
||||
|
||||
if (( KERNEL > 5 )) || ( (( KERNEL == 5 )) && (( MINOR > 2 )) ); then
|
||||
if (( KERNEL > 5 )) || ( (( KERNEL == 5 )) && (( MINOR > 10 )) ); then
|
||||
pidwait -F "${_QEMU_PID}" & wait $!
|
||||
else
|
||||
tail --pid "$(cat "${_QEMU_PID}")" --follow /dev/null & wait $!
|
||||
|
|
Loading…
Reference in a new issue