From 708f89de052c16912fca422fe8e530ef88922f8c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 15 Apr 2009 12:22:56 +0000 Subject: Fix test from previous commit --- perl-install/diskdrake/interactive.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index e8a7a2f06..88997ee63 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -445,9 +445,9 @@ sub View { my ($in, $hd, $part, $all_hds) = @_; my $handle = any::inspect($part, $::prefix); if ($handle) { - $in->ask_warn(N("Error"), N("Failed to mount partition")); - } else { $in->ask_directory({'directory'=>$handle->{dir}}); + } else { + $in->ask_warn(N("Error"), N("Failed to mount partition")); } } -- cgit v1.2.1