mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
calendarspec: fix typo in "annually"
https://bugs.freedesktop.org/show_bug.cgi?id=85447
This commit is contained in:
parent
7558251eef
commit
e90efc7090
@ -688,7 +688,8 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) {
|
||||
if (r < 0)
|
||||
goto fail;
|
||||
|
||||
} else if (strcaseeq(p, "anually") || strcaseeq(p, "yearly")) {
|
||||
} else if (strcaseeq(p, "annually") || strcaseeq(p, "yearly")
|
||||
|| strcaseeq(p, "anually") /* backwards compatibility */ ) {
|
||||
r = const_chain(1, &c->month);
|
||||
if (r < 0)
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user