summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-17 07:16:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-17 07:16:19 +0000
commit02d308c52735fdfa9c03563147be562febfc1a3c (patch)
treed642a5f573f9b419bf8740319a80194d21a0cd26
parente3b0ced90d2bf7ce4c1b753d337b38f519781b44 (diff)
downloaddrakx-02d308c52735fdfa9c03563147be562febfc1a3c.tar
drakx-02d308c52735fdfa9c03563147be562febfc1a3c.tar.gz
drakx-02d308c52735fdfa9c03563147be562febfc1a3c.tar.bz2
drakx-02d308c52735fdfa9c03563147be562febfc1a3c.tar.xz
drakx-02d308c52735fdfa9c03563147be562febfc1a3c.zip
ensure "defaults" mount option is set in fstab
(i could not reproduce the issue, but it's been reported on cooker, and it may somehow occur if fs::mount_options::pack() is not used)
-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 48ecc2822..e672d2c98 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -237,7 +237,7 @@ sub prepare_write_fstab {
$new{$device} = 1;
$new{$mntpoint} = 1;
- my $options = $_->{options};
+ my $options = $_->{options} || 'defaults';
if ($_->{fs_type} eq 'smbfs' && $options =~ /password=/ && !$b_keep_smb_credentials) {
require fs::remote::smb;