--- cron.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.c b/cron.c index 9da0c8a..18ee8b1 100644 --- a/cron.c +++ b/cron.c _AT_@ -252,7 +252,7 @@ parserange(char *str, long low, long high, struct range *r) errno = 0; r->low = strtol(strlow, &e, 10); - if (*e || errno != 0) + if ((*e && *e != '~') || errno != 0) return -1; if (strhigh) { if (!*strhigh || range != NULL) /* i.e. N- or N-M-... */ -- 2.44.0Received on Thu Mar 07 2024 - 22:16:07 CET
This archive was generated by hypermail 2.3.0 : Thu Mar 07 2024 - 22:24:34 CET