summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Snapshot
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2009-04-03 15:26:07 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2009-04-03 15:26:07 +0000
commitb6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30 (patch)
tree6454d49cb0b15c8795a2543e09c67a12003573ae /lib/MDV/Snapshot
parent9a81229eeed4f26fb73a24d325c750becc04a522 (diff)
downloaddraksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar.gz
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar.bz2
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.tar.xz
draksnapshot-b6f36d8f3aa4ce59b3bd5d3587cc51fa590c1e30.zip
(configure) do not try to mount '/'
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@255442 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'lib/MDV/Snapshot')
-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) {