From f98558ff748c3c5e25c09f3412f25e4102a3426c Mon Sep 17 00:00:00 2001 From: Paul Saab Date: Wed, 14 Jun 2000 09:05:03 +0000 Subject: [PATCH] Make typing 'q' or 'Q' work for the show command as the pager prompt says it should. --- sys/boot/common/commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/boot/common/commands.c b/sys/boot/common/commands.c index 4a5ebfa4692c..0aab78e51bd4 100644 --- a/sys/boot/common/commands.c +++ b/sys/boot/common/commands.c @@ -246,7 +246,8 @@ command_show(int argc, char *argv[]) pager_output("="); pager_output(cp); } - pager_output("\n"); + if (pager_output("\n")) + break; } pager_close(); } else {