mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-01 19:21:40 +00:00
calendar: new case 'minutely'
This commit is contained in:
committed by
Lennart Poettering
parent
2d1239ea20
commit
272ac20517
@@ -655,7 +655,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;
|
||||
|
||||
Reference in New Issue
Block a user