From a8379a53d4bcde7e72463446d7f40e92534d532e Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 11 Aug 2015 15:31:26 +0200 Subject: [PATCH] core93: prevent erase content of grub.conf if grub-mkconfig run into in error. --- config/rootfiles/core/93/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/core/93/update.sh b/config/rootfiles/core/93/update.sh index f8aebdf9b5..4644543770 100644 --- a/config/rootfiles/core/93/update.sh +++ b/config/rootfiles/core/93/update.sh @@ -57,7 +57,7 @@ rm -f /opt/pakfire/db/rootfiles/libevent2 sendprofile # Update grub config to display new core version if [ -e /boot/grub/grub.cfg ]; then - grub-mkconfig > /boot/grub/grub.cfg + grub-mkconfig -o /boot/grub/grub.cfg fi sync -- 2.39.5