Fix accidental expansions causing pm bugs

This commit is contained in:
Nick Chambers 2021-06-19 02:15:20 -05:00
parent dc1f1050d5
commit 17ae681179
1 changed files with 2 additions and 2 deletions

4
rowbot
View File

@ -117,11 +117,11 @@ fi
###
cleanup() {
if [[ -v $tls_pid || $tls = no ]]; then
if [[ -v tls_pid || $tls = no ]]; then
exec {in_sock}>&- {out_sock}>&- {log}>&-
fi
if [[ -v $tls_pid ]]; then
if [[ -v tls_pid ]]; then
kill "$tls_pid"
rm -rf "$sock_dir"
fi