summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/commands.c
diff options
context:
space:
mode:
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