瀏覽代碼

Typo

master
JustAnotherArchivist 2 年之前
父節點
當前提交
9798cc1188
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      kill-connections

+ 1
- 1
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


Loading…
取消
儲存