aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/nginx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index eee88dc3f..4ae4d099e 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -268,6 +268,8 @@ ngx_log_debug(log, "REOPEN: %d:%d:%s" _ fd _ file[i].fd _ file[i].name.data);
file[i].fd = fd;
}
+
+ rotate = 0;
}
if (restart) {