mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2025-02-21 17:45:15 +07:00
fix: Use pidwait only on recent kernels
This commit is contained in:
parent
bbc033f032
commit
9f6fbc3f7c
@ -93,7 +93,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 New Issue
Block a user