summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/commands.c
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-06-14 09:05:03 +0000
committerps <ps@FreeBSD.org>2000-06-14 09:05:03 +0000
commit24e5543f48524e7056dced3804ac989de4f8c337 (patch)
tree7e69a7acbd14f036b6dd3046c335fbd1717ae42f /sys/boot/common/commands.c
parent4699eff3b4d3a3d665929cc439c99fcb49badf56 (diff)
downloadFreeBSD-src-24e5543f48524e7056dced3804ac989de4f8c337.zip
FreeBSD-src-24e5543f48524e7056dced3804ac989de4f8c337.tar.gz
Make typing 'q' or 'Q' work for the show command as the pager prompt
says it should.
Diffstat (limited to 'sys/boot/common/commands.c')
-rw-r--r--sys/boot/common/commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/common/commands.c b/sys/boot/common/commands.c
index 4a5ebfa..0aab78e 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 {
OpenPOWER on IntegriCloud