From 02d308c52735fdfa9c03563147be562febfc1a3c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 17 Sep 2007 07:16:19 +0000 Subject: 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) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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; -- cgit v1.2.1