summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-04 13:48:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-04 13:48:26 +0000
commit29958ca6b88d9aa9c9305a18256f8c7092114cde (patch)
treebb59dddb36082c8d629726d42911e76056fc2c85 /perl-install/any.pm
parentb9cbb41ade40d03aa9aa970e5dadb76a816f38e7 (diff)
downloaddrakx-29958ca6b88d9aa9c9305a18256f8c7092114cde.tar
drakx-29958ca6b88d9aa9c9305a18256f8c7092114cde.tar.gz
drakx-29958ca6b88d9aa9c9305a18256f8c7092114cde.tar.bz2
drakx-29958ca6b88d9aa9c9305a18256f8c7092114cde.tar.xz
drakx-29958ca6b88d9aa9c9305a18256f8c7092114cde.zip
no_comment
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 512f753fc..1e604d85b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -281,7 +281,8 @@ sub inspect {
$dir = '';
} else {
mkdir $dir, 0700;
- fs::mount($part->{device}, $dir, type2fs($part->{type}), !$rw);
+ eval { fs::mount($part->{device}, $dir, type2fs($part->{type}), !$rw) };
+ $@ and return;
}
my $h = before_leaving {
if (!$part->{isMounted} && $dir) {