nginx-0.0.1-2003-12-26-22:08:50 import
diff --git a/src/core/nginx.c b/src/core/nginx.c
index eee88dc..4ae4d09 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -268,6 +268,8 @@
 
                         file[i].fd = fd;
                     }
+
+                    rotate = 0;
                 }
 
                 if (restart) {