mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
calendar: new case 'minutely'
This commit is contained in:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user