Fix incorrect config warning
o9000 mrovi9000@gmail.com
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/config.c
→
src/config.c
@@ -652,8 +652,8 @@ } else if (strcmp(key, "execp_interval") == 0) {
Execp *execp = get_or_create_last_execp(); execp->backend->interval = 0; int v = atoi(value); - if (v < 1) { - fprintf(stderr, "execp_interval must be an integer >= 1\n"); + if (v < 0) { + fprintf(stderr, "execp_interval must be an integer >= 0\n"); } else { execp->backend->interval = v; }