fix: swallow output when killing processes in cleanup()

This commit is contained in:
zen0bit 2024-05-03 15:28:43 +02:00 committed by Martin Wimpress
parent 0a7c196dd1
commit 3f72f6fd47
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export LC_ALL=C
function cleanup() {
if [ -n "$(jobs -p)" ]; then
kill "$(jobs -p)"
kill "$(jobs -p)" 2>/dev/null
fi
}