From 5cd918eae00d328182effc903245fd98c7f980e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 19 Nov 2020 02:57:21 +0100 Subject: [PATCH] typo --- channel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel.sh b/channel.sh index a59a5a4..6117050 100755 --- a/channel.sh +++ b/channel.sh @@ -43,7 +43,7 @@ nicklist(){ nicklist='NICKNAMES: ' while read -r s p nick; do - [ -d "/proc/$pid" ] && nicklist="${nicklist}/$nick/" \ + [ -d "/proc/$p" ] && nicklist="${nicklist}/$nick/" \ || sed -i -E "/^$s $p /d" "$nickfile" done <"$nickfile" if ! tail -n20 "$chatfile" |grep -qxF "$nicklist"; then -- 2.39.2