diff options
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 3 |
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) { |