From: Paul Hänsch Date: Thu, 19 Nov 2020 01:57:21 +0000 (+0100) Subject: typo X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=5cd918eae00d328182effc903245fd98c7f980e7;p=httpchat typo --- 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