mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
test: discard kill's output
This commit is contained in:
@@ -46,7 +46,7 @@ handle_signal() {
|
||||
wait_harder() {
|
||||
local pid="${1:?}"
|
||||
|
||||
while kill -0 "$pid"; do
|
||||
while kill -0 "$pid" &>/dev/null; do
|
||||
wait "$pid" || :
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user