summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-09 02:47:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-09 02:47:28 +0000
commit73c48458b20eb5ea3b46ccbd9f5d231a6a32a5a0 (patch)
tree30c0d822c107a5dfc94569e35e00ecdc0c041068
parent8954fae8a343837a8b520d7f2b8753801e958de9 (diff)
downloaddrakx-73c48458b20eb5ea3b46ccbd9f5d231a6a32a5a0.tar
drakx-73c48458b20eb5ea3b46ccbd9f5d231a6a32a5a0.tar.gz
drakx-73c48458b20eb5ea3b46ccbd9f5d231a6a32a5a0.tar.bz2
drakx-73c48458b20eb5ea3b46ccbd9f5d231a6a32a5a0.tar.xz
drakx-73c48458b20eb5ea3b46ccbd9f5d231a6a32a5a0.zip
sometimes grub return non zero exit status w/o error
-rwxr-xr-xglobetrotter/make_live2
1 files changed, 1 insertions, 1 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live
index 5c9329d54..e721da4d6 100755
--- a/globetrotter/make_live
+++ b/globetrotter/make_live
@@ -358,7 +358,7 @@ bootloader::suggest($bootloader, $all_hds->{hds}, $fstab,
# $bootloader->{method} = 'lilo-graphic';
$bootloader->{method} = 'grub';
-bootloader::install($bootloader, $fstab, $all_hds->{hds});
+eval { bootloader::install($bootloader, $fstab, $all_hds->{hds}) };
doRootSubst("$::prefix/boot/grub/menu.lst");
run_program::rooted($::prefix, 'sh', '/boot/grub/install.sh');