Rely on the tls option instead of a pid variable
This commit is contained in:
parent
ce7e3b7e5d
commit
07b8753cfa
1 changed files with 1 additions and 1 deletions
2
rowbot
2
rowbot
|
@ -418,7 +418,7 @@ hook_post_PRIVMSG_control_panel() {
|
||||||
reload)
|
reload)
|
||||||
export IN_SOCK=$in_sock OUT_SOCK=$out_sock LOG_FD=$log
|
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 SOCK_DIR=$sock_dir
|
||||||
export TLS_PID=$tls_pid
|
export TLS_PID=$tls_pid
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue