nixos/deploy-rs: Fix systemd-util shellcheck
This commit is contained in:
@@ -45,8 +45,9 @@ let
|
|||||||
|
|
||||||
journalctl -o cat --no-pager -n 0 -f -u "$unit" &
|
journalctl -o cat --no-pager -n 0 -f -u "$unit" &
|
||||||
jPid=$!
|
jPid=$!
|
||||||
|
|
||||||
|
# shellcheck disable=SC2329
|
||||||
cleanup() {
|
cleanup() {
|
||||||
# shellcheck disable=SC2317
|
|
||||||
kill "$jPid"
|
kill "$jPid"
|
||||||
}
|
}
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|||||||
Reference in New Issue
Block a user