From d290da1cdaeb5364858d28de749af56f6c175104 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 Mar 2008 13:46:58 +0000 Subject: - diskdrake: o graphical error message when "No hard drives found" (#38699) (otherwise drakbug will catch it and suggest to report a bug...) --- perl-install/diskdrake/hd_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake/hd_gtk.pm') 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); } ################################################################################ -- cgit v1.2.1