Fix incorrect config warning
This commit is contained in:
parent
5da4c1653a
commit
85e1a356fe
1 changed files with 2 additions and 2 deletions
|
@ -652,8 +652,8 @@ void add_entry(char *key, char *value)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue