diff options
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/mount.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/mount.pm b/perl-install/fs/mount.pm index f7bea2ae4..59e3e8bbb 100644 --- a/perl-install/fs/mount.pm +++ b/perl-install/fs/mount.pm @@ -222,7 +222,7 @@ sub umount_all { log::l("unmounting all filesystems"); foreach (sort { $b->{mntpoint} cmp $a->{mntpoint} } - grep { $_->{mntpoint} && !$_->{real_mntpoint} } @$fstab) { + grep { $_->{mntpoint} && !$_->{real_mntpoint} || isSwap($_) } @$fstab) { umount_part($_); } } |