Rely on the tls option instead of a pid variable

This commit is contained in:
Nick Chambers 2021-06-15 16:36:22 -05:00
parent e29a3a79ec
commit 4325450207
1 changed files with 1 additions and 1 deletions

2
rowbot
View File

@ -418,7 +418,7 @@ hook_post_PRIVMSG_control_panel() {
reload)
export IN_SOCK=$in_sock OUT_SOCK=$out_sock LOG_FD=$log
if [[ -v tls_pid ]]; then
if [[ $tls = yes ]]; then
export SOCK_DIR=$sock_dir
export TLS_PID=$tls_pid
fi