summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-17 03:46:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-17 03:46:00 +0000
commit354186e210c550f7d7627d61ef02466c6b3d35bd (patch)
tree63349180a59d387901024a98901757e192298141
parent1fda26cdb7b65963a978eeffc44096543a3f47b2 (diff)
downloaddrakx-354186e210c550f7d7627d61ef02466c6b3d35bd.tar
drakx-354186e210c550f7d7627d61ef02466c6b3d35bd.tar.gz
drakx-354186e210c550f7d7627d61ef02466c6b3d35bd.tar.bz2
drakx-354186e210c550f7d7627d61ef02466c6b3d35bd.tar.xz
drakx-354186e210c550f7d7627d61ef02466c6b3d35bd.zip
better error handling
-rwxr-xr-xperl-install/standalone/bootloader-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index b6bec9dd6..9e21d1ee9 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -99,7 +99,7 @@ sub add_kernel() {
my $kernel_str = bootloader::vmlinuz2kernel_str($image) or die "bad kernel name $image\n";
- my $root_part = fs::get::root([ fs::get::fstab($all_hds) ]);
+ my $root_part = fs::get::root([ fs::get::fstab($all_hds) ]) or die "can't find root partition\n";
my %opts = (
root => "/dev/$root_part->{device}",
initrd_options => $initrd_options,