Skip to content

Commit f089470

Browse files
committed
confd: fix update of /cfg/startup-config.cfg
Follow-up to ed23558 Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 33999ce commit f089470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/confd/src/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ static inline int subscribe_model(char *model, struct confd *confd, int flags)
262262
{
263263
return sr_module_change_subscribe(confd->session, model, "//.", change_cb, confd,
264264
CB_PRIO_PRIMARY, SR_SUBSCR_CHANGE_ALL_MODULES |
265-
SR_SUBSCR_DEFAULT | flags, &confd->sub) &&
266-
sr_module_change_subscribe(confd->startup, model, "//.", core_startup_save, NULL,
265+
SR_SUBSCR_DEFAULT | flags, &confd->sub) ||
266+
sr_module_change_subscribe(confd->startup, model, "//.", startup_save, NULL,
267267
CB_PRIO_PASSIVE, SR_SUBSCR_CHANGE_ALL_MODULES |
268268
SR_SUBSCR_PASSIVE, &confd->sub);
269269
}

0 commit comments

Comments
 (0)