summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/remote/smb.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-08 08:21:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-08 08:21:00 +0000
commit7df4be8a0a150ae706d73b040b002e437d10d236 (patch)
tree102344d4c72c3947b0c213548144f1d4bdced08c /perl-install/fs/remote/smb.pm
parenta77fbe82060bb0b00639aeb5855c64db076f01e7 (diff)
downloaddrakx-backup-do-not-use-7df4be8a0a150ae706d73b040b002e437d10d236.tar
drakx-backup-do-not-use-7df4be8a0a150ae706d73b040b002e437d10d236.tar.gz
drakx-backup-do-not-use-7df4be8a0a150ae706d73b040b002e437d10d236.tar.bz2
drakx-backup-do-not-use-7df4be8a0a150ae706d73b040b002e437d10d236.tar.xz
drakx-backup-do-not-use-7df4be8a0a150ae706d73b040b002e437d10d236.zip
since cifs, /etc/samba/auth.xxx format has changed slightly: spaces are not
allowed around "=" (at least that's what comment #6 of bug #42483 says)
Diffstat (limited to 'perl-install/fs/remote/smb.pm')
-rw-r--r--perl-install/fs/remote/smb.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/remote/smb.pm b/perl-install/fs/remote/smb.pm
index 5d16164b6..378aa6a1e 100644
--- a/perl-install/fs/remote/smb.pm
+++ b/perl-install/fs/remote/smb.pm
@@ -137,7 +137,7 @@ sub remove_bad_credentials {
sub save_credentials {
my ($credentials) = @_;
my $file = $credentials->{file};
- output_with_perm("$::prefix$file", 0640, map { "$_ = $credentials->{$_}\n" } qw(username domain password));
+ output_with_perm("$::prefix$file", 0640, map { "$_=$credentials->{$_}\n" } qw(username domain password));
}