diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 21280ec7aa..4a03b4ffd7 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -707,7 +707,7 @@ int vtysh_mark_file(const char *filename) } vty = vty_new(); - vty->wfd = STDERR_FILENO; + vty->wfd = STDOUT_FILENO; vty->type = VTY_TERM; vty->node = CONFIG_NODE;