nixos/deploy-rs: Fix systemd-util shellcheck

This commit is contained in:
2026-02-08 21:17:00 +00:00
parent f1dc04ec4b
commit 8d1f4d51d0

View File

@@ -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