summaryrefslogtreecommitdiff
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 777a7ac2..c7efa91b 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1709,6 +1709,8 @@ DEFUN (vtysh_write_terminal,
vtysh_config_dump (fp);
+ vty_out (vty, "end%s", VTY_NEWLINE);
+
if (vtysh_pager_name && fp)
{
fflush (fp);