Check for in pipe in channel join too. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 69d3ae2283452425d8f3e340f327e07371b085fc
(DIR) parent 9e7649e869f12dbc695678d25ba521c541c4c70e
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 15 Oct 2023 12:10:35 +0200
Check for in pipe in channel join too.
Diffstat:
M annna-join-channels | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-join-channels b/annna-join-channels
@@ -30,6 +30,15 @@ do
done
tries=0
+ while [ ! -e "${ircbase}/${server}/${chan}/in" ];
+ do
+ [ ! -f ${cfgbase}/running ] && exit 1
+ tries=$(($tries + 1))
+ [ $tries -gt $maxretries ] && exit 1
+ sleep 1
+ done
+
+ tries=0
## Check if we have joined and received the message from the server.
while [ -z "$(cat ${ircbase}/${server}/${chan}/out \
| head -n 1 \