diff --git a/hosts/nas/modules/auto-shutdown.nix b/hosts/nas/modules/auto-shutdown.nix index 5940cfd..5a9b010 100644 --- a/hosts/nas/modules/auto-shutdown.nix +++ b/hosts/nas/modules/auto-shutdown.nix @@ -39,7 +39,7 @@ let # to a non-local peer means a download is in flight. pyload_conns=$(${pkgs.iproute2}/bin/ss -H -t -n -p \ state established state syn-sent state syn-recv 2>/dev/null \ - | grep -F '"pyload"' \ + | grep -F 'pyload' \ | awk '{print $5}' \ | grep -Ev '${localPeerRegex}' || true) if [[ -n "$pyload_conns" ]]; then