summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-13 13:46:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-13 13:46:58 +0000
commitd290da1cdaeb5364858d28de749af56f6c175104 (patch)
tree1003328460239d5f8a884467aec7d7986eddf113 /perl-install/diskdrake
parent4b619a75afec9152e407406f8fd241784e7e3223 (diff)
downloaddrakx-backup-do-not-use-d290da1cdaeb5364858d28de749af56f6c175104.tar
drakx-backup-do-not-use-d290da1cdaeb5364858d28de749af56f6c175104.tar.gz
drakx-backup-do-not-use-d290da1cdaeb5364858d28de749af56f6c175104.tar.bz2
drakx-backup-do-not-use-d290da1cdaeb5364858d28de749af56f6c175104.tar.xz
drakx-backup-do-not-use-d290da1cdaeb5364858d28de749af56f6c175104.zip
- diskdrake:
o graphical error message when "No hard drives found" (#38699) (otherwise drakbug will catch it and suggest to report a bug...)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index d98049aa2..340592822 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -260,7 +260,7 @@ sub create_automatic_notebooks {
my $b = $_->{marked} or $notebook_widget->remove_page($::i);
$b;
} @notebook;
- @notebook or die N("No hard drives found");
+ @notebook or $in->ask_warn(N("Error"), N("No hard drives found")), $in->exit(1);
}
################################################################################