summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-05-09 15:19:24 +0200
committerChristian Hopps <chopps@labn.net>2023-05-30 08:09:44 +0200
commita1d8c7a36e44b5b5e87f9f863d04a74670a19843 (patch)
treeefad6c38f896d10136459df47e1a615b18eabc29 /lib/command.c
parentlib: enable short circuit for FE client/adapter connection (diff)
downloadfrr-a1d8c7a36e44b5b5e87f9f863d04a74670a19843.tar.xz
frr-a1d8c7a36e44b5b5e87f9f863d04a74670a19843.zip
mgmtd: fix reading of config file[s]
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index 7a7ce3f5d..e92251160 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1283,6 +1283,7 @@ int command_config_read_one_line(struct vty *vty,
memcpy(ve->error_buf, vty->buf, VTY_BUFSIZ);
ve->line_num = line_num;
+ ve->cmd_ret = ret;
if (!vty->error)
vty->error = list_new();