fix shellcheck errors
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2022-12-31 13:35:14 +01:00
parent 526992f73b
commit db1bf0d72e
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -23,7 +23,7 @@ run_script() {
} }
stop_delete_script() { stop_delete_script() {
kill -9 $1 kill -9 "$1"
rm -f "$2" rm -f "$2"
} }
@ -35,8 +35,6 @@ check_pid() {
test -d "/proc/$PID/" && sleep 1 || STATUS=0 test -d "/proc/$PID/" && sleep 1 || STATUS=0
done done
kill -9 "$PID"
printf "%d" ${STATUS:-1} printf "%d" ${STATUS:-1}
} }