From 812f088032300ff35e27ce4410266ef70307797d Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 6 Dec 2019 20:35:50 +0100 Subject: [PATCH] vtysh: throw mark output on stdout, not stderr Why is this on stderr... Signed-off-by: David Lamparter --- vtysh/vtysh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5