summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-04-15 12:22:56 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-04-15 12:22:56 +0000
commit708f89de052c16912fca422fe8e530ef88922f8c (patch)
treedfd273b77492deba192473e67af51d2614b4264b
parent5473c25646427fc52d80765ed47ecaeca8364caf (diff)
downloaddrakx-708f89de052c16912fca422fe8e530ef88922f8c.tar
drakx-708f89de052c16912fca422fe8e530ef88922f8c.tar.gz
drakx-708f89de052c16912fca422fe8e530ef88922f8c.tar.bz2
drakx-708f89de052c16912fca422fe8e530ef88922f8c.tar.xz
drakx-708f89de052c16912fca422fe8e530ef88922f8c.zip
Fix test from previous commit
-rw-r--r--perl-install/diskdrake/interactive.pm4
1 files changed, 2 insertions, 2 deletions
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"));
}
}