From 9798cc1188387464289eb4392cf64cd7dee5365d Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Wed, 16 Mar 2022 20:10:18 +0000 Subject: [PATCH] Typo --- kill-connections | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kill-connections b/kill-connections index d45b4a5..7b34838 100755 --- a/kill-connections +++ b/kill-connections @@ -33,7 +33,7 @@ then tcp-closer -4 -s ${v4sports} echo >&2 fi -v6sports="$(lsof -a -p ${pid} -i6 -i TCP -n -F nP0 | grep -Pao '\x00n\[[^\]]+\]:\K\d+' | tr '\n' ' ' | sed 's/,$//; s/ / -s /g')" +v6sports="$(lsof -a -p ${pid} -i6 -i TCP -n -F nP0 | grep -Pao '\x00n\[[^\]]+\]:\K\d+' | tr '\n' ' ' | sed 's/ $//; s/ / -s /g')" if [[ "${v6sports}" ]] then echo "Killing IPv6 connections" >&2