diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-29 10:55:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-29 10:55:31 +0000 |
commit | 48eb74c3d2e93715b0ac483a3e1f638c674ceca0 (patch) | |
tree | 8b8e9786ddd1e6d59ccb27828afca847d2e63a9b /perl-install/fs.pm | |
parent | af7f9c869b7faf1ce0f0aba6d07aeabfcfed2943 (diff) | |
download | drakx-backup-do-not-use-48eb74c3d2e93715b0ac483a3e1f638c674ceca0.tar drakx-backup-do-not-use-48eb74c3d2e93715b0ac483a3e1f638c674ceca0.tar.gz drakx-backup-do-not-use-48eb74c3d2e93715b0ac483a3e1f638c674ceca0.tar.bz2 drakx-backup-do-not-use-48eb74c3d2e93715b0ac483a3e1f638c674ceca0.tar.xz drakx-backup-do-not-use-48eb74c3d2e93715b0ac483a3e1f638c674ceca0.zip |
- use $::prefix for reading/writing (it was missing for writing)
- use output_p so that /etc/samba directory is created if needed
(fix bug reported by David Eastcott)
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index a8789c6f3..00c3f0e65 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -91,7 +91,7 @@ sub read_fstab { #- the other way is done in fstab_to_string my ($options, $unknown) = mount_options_unpack($h); my $file = delete $options->{'credentials='}; - my $credentials = network::smb::read_credentials_raw("$prefix$file"); + my $credentials = network::smb::read_credentials_raw($file); if ($credentials->{username}) { $options->{"$_="} = $credentials->{$_} foreach qw(username password domain); mount_options_pack($h, $options, $unknown); |