summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-28 21:16:44 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-28 21:16:44 +0000
commit10eb8eaf9bc1aefd90eef0330fc1aed7751427b7 (patch)
tree041ec0233350c7aac1ea944582580edc1f9ffdc6 /perl-install/fs.pm
parentb48994c225138c5a1834877f60be771363e63816 (diff)
downloaddrakx-10eb8eaf9bc1aefd90eef0330fc1aed7751427b7.tar
drakx-10eb8eaf9bc1aefd90eef0330fc1aed7751427b7.tar.gz
drakx-10eb8eaf9bc1aefd90eef0330fc1aed7751427b7.tar.bz2
drakx-10eb8eaf9bc1aefd90eef0330fc1aed7751427b7.tar.xz
drakx-10eb8eaf9bc1aefd90eef0330fc1aed7751427b7.zip
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 4c7cbc469..b891f5f10 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -170,7 +170,7 @@ sub mount_all($;$) {
log::l("mounting all filesystems");
# order mount by alphabetical ordre, that way / < /home < /home/httpd...
- foreach (sort { $a->{mntpoint} cmp $b->{mntpoint} } @$fstab) {
+ foreach (sort { ($a->{mntpoint} || '') cmp ($b->{mntpoint} || '') } @$fstab) {
mount_part($_, $prefix) if ($_->{mntpoint} || isSwap($_));
}
}