On Mon, 27.10.14 08:42, Daniele Medri (dme...@gmail.com) wrote:

Looks good! Applied! Thanks!

> ---
>  src/shared/calendarspec.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
> index 196a330..6186301 100644
> --- a/src/shared/calendarspec.c
> +++ b/src/shared/calendarspec.c
> @@ -833,7 +833,12 @@ int calendar_spec_from_string(const char *p, 
> CalendarSpec **spec) {
>          if (!c)
>                  return -ENOMEM;
>  
> -        if (strcaseeq(p, "hourly")) {
> +        if (strcaseeq(p, "minutely")) {
> +                r = const_chain(0, &c->second);
> +                if (r < 0)
> +                        goto fail;
> +
> +        } else if (strcaseeq(p, "hourly")) {
>                  r = const_chain(0, &c->minute);
>                  if (r < 0)
>                          goto fail;
> -- 
> 1.9.3
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to