From 8c317b270ff609a5a1e4f9776d6ea5ec9ba05ef5 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Tue, 30 Nov 2010 15:36:47 +0100 Subject: [PATCH] 2010-11-30 Robert Millan * grub-core/commands/echo.c (grub_cmd_echo): Call grub_refresh() after printing a message. --- ChangeLog | 5 +++++ grub-core/commands/echo.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 815004080..92071f3c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-30 Robert Millan + + * grub-core/commands/echo.c (grub_cmd_echo): Call grub_refresh() + after printing a message. + 2010-11-23 Colin Watson * include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT): diff --git a/grub-core/commands/echo.c b/grub-core/commands/echo.c index 13bc1c3fd..2842de603 100644 --- a/grub-core/commands/echo.c +++ b/grub-core/commands/echo.c @@ -1,7 +1,7 @@ /* echo.c - Command to display a line of text */ /* * GRUB -- GRand Unified Bootloader - * Copyright (C) 2006,2007 Free Software Foundation, Inc. + * Copyright (C) 2006,2007,2010 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -106,6 +106,8 @@ grub_cmd_echo (grub_extcmd_context_t ctxt, int argc, char **args) if (newline) grub_printf ("\n"); + grub_refresh (); + return 0; }