aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c62a25a7a..fc033ce1b 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1142,8 +1142,6 @@ options_act_reversible(const or_options_t *old_options, char **msg)
goto rollback;
}
- tor_log_update_sigsafe_err_fds();
-
commit:
r = 0;
if (logs_marked) {
@@ -1153,6 +1151,7 @@ options_act_reversible(const or_options_t *old_options, char **msg)
add_callback_log(severity, control_event_logmsg);
control_adjust_event_log_severity();
tor_free(severity);
+ tor_log_update_sigsafe_err_fds();
}
if (get_min_log_level() >= LOG_INFO &&
get_min_log_level() != old_min_log_level) {