summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-05-30 10:48:32 -0400
committerGitHub <noreply@github.com>2023-05-30 10:48:32 -0400
commit63e04998a7a12ee203fa4aeea205e3b9671bf995 (patch)
treea38b072784cfdfebaec90854c6eb19360415542e /lib/command.c
parent2fccc9fa10d94a1f8b434e1dec06bee3ac352245 (diff)
parentff6b14a658bf48d840e7a1e33386ca390498fe47 (diff)
Merge pull request #13414 from LabNConsulting/chopps/no-mgmtd-nowrite-on-off
rework messaging, resource handling in mgmtd with bug fix and code hardening
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 7a7ce3f5dc..e92251160f 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();