Fix the syntax for closing the log fd

This commit is contained in:
Nick Chambers 2021-06-19 14:46:52 -05:00
parent 80156a78e2
commit 6b24f2d7a2
1 changed files with 1 additions and 1 deletions

2
rowbot
View File

@ -135,7 +135,7 @@ cleanup() {
exec {in_sock}>&- {out_sock}>&-
if (( log != 1 )); then
{log}>&-
exec {log}>&-
fi
fi
}