From 75aa14466f12a287cf702972aa52a2011c9a1463 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 16 Jan 2018 07:50:52 +0100 Subject: [PATCH] Allow disabling log rotation, `log size:0` Signed-off-by: Joachim Nilsson --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 1f53a848..7145707c 100644 --- a/src/conf.c +++ b/src/conf.c @@ -401,7 +401,7 @@ static void parse_static(char *line) tok = strtok(NULL, ":= "); } - if (size > 0) + if (size >= 0) logfile_size_max = size; if (count >= 0) logfile_count_max = count;