Fix the priority order for the log shutdown

This commit is contained in:
Nick Chambers 2021-07-05 18:15:37 -05:00 committed by Nick Chambers
parent 05fba96ada
commit cc5bcaf4c7
1 changed files with 1 additions and 1 deletions

2
rowbot
View File

@ -223,7 +223,7 @@ on_init_001_log() {
fi
}
on_exit_001_log() {
on_exit_zzz_log() {
if [[ -v log_fd ]] && (( log_fd != 1 )); then
exec {log_fd}>&-
fi