fix(quickget): disable shellcheck SC2317 for cleanup()

https://www.shellcheck.net/wiki/SC2317
This commit is contained in:
Martin Wimpress 2024-05-07 11:18:23 +01:00 committed by Martin Wimpress
parent ca87ff3b58
commit 77fe26975d
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
export LC_ALL=C
# shellcheck disable=SC2317
function cleanup() {
if [ -n "$(jobs -p)" ]; then
kill "$(jobs -p)" 2>/dev/null