diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-28 05:09:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-28 05:09:17 +0000 |
commit | 9e04bc317e1c53e7895b26248270e808d96aa1c2 (patch) | |
tree | c0d1d22eed56b7cf24dfded9cc84d75b5d6914c4 /perl-install/standalone | |
parent | 0bd95c3ad96f0f711cb9b03c94ce139a3fe477f7 (diff) | |
download | drakx-9e04bc317e1c53e7895b26248270e808d96aa1c2.tar drakx-9e04bc317e1c53e7895b26248270e808d96aa1c2.tar.gz drakx-9e04bc317e1c53e7895b26248270e808d96aa1c2.tar.bz2 drakx-9e04bc317e1c53e7895b26248270e808d96aa1c2.tar.xz drakx-9e04bc317e1c53e7895b26248270e808d96aa1c2.zip |
handle no bootloader configuration found with a clean error
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakboot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index 5c3dac568..156985f8c 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -42,7 +42,7 @@ my $all_hds = fsedit::get_hds(); fs::get_raw_hds('', $all_hds); fs::get_info_from_fstab($all_hds); my $fstab = [ fs::get::fstab($all_hds) ]; -my $bootloader = bootloader::read($all_hds); +my $bootloader = bootloader::read($all_hds) or die "no bootloader found\n"; my $cmdline = cat_('/proc/cmdline'); if (!$in->isa('interactive::gtk') || any { /^--boot$/ } @ARGV) { |