--- text-utils/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-utils/more.c b/text-utils/more.c index 6c538f724..72953fd8f 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1285,7 +1285,7 @@ static void run_shell(struct more_control *ctl, char *filename) putchar('!'); fflush(NULL); if (ctl->previous_command.key == more_kc_run_shell && ctl->shell_line) - fputs(ctl->shell_line, stdout); + fputs(ctl->shell_line, stderr); else { ttyin(ctl, cmdbuf, sizeof(cmdbuf) - 2, '!'); if (strpbrk(cmdbuf, "%!\\")) -- 2.33.0