summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Snapshot/Restore.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Snapshot/Restore.pm b/lib/MDV/Snapshot/Restore.pm
index 93e1ffd..5f616c3 100644
--- a/lib/MDV/Snapshot/Restore.pm
+++ b/lib/MDV/Snapshot/Restore.pm
@@ -143,7 +143,7 @@ sub mount_all {
my @errs;
foreach my $part (sort { $a->{mntpoint} cmp $b->{mntpoint} }
- grep { $_->{mntpoint} && maybeFormatted($_) && $_->{device} ne 'none'
+ grep { $_->{mntpoint} && $_->{mntpoint} ne '/' && maybeFormatted($_) && $_->{device} ne 'none'
&& !member($_->{fs_type}, 'swap', 'nfs', if_($::isInstall, 'ntfs'));
}
@$fstab) {