marvvin

IRC bot
Log | Files | Refs | README | LICENSE

commit 4c5e9bc17daa14b800dd5a46793df2d3652f5289
parent 50151e225e80eb11fc05ebdd4c08bd0928318e5a
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 23 Apr 2021 10:09:01 +0100

main.sh: use 'stop' file

Diffstat:
Mmain.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/main.sh b/main.sh @@ -22,6 +22,10 @@ export nick server port input inlog outlog comment tmpdir while _mkfifo do sleep 1 + [ -f stop ] && { + rm stop + kill -1 $$ + } ( printf '%s\r\n' "NICK $nick"