summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-01-24 17:47:51 +0100
committerPapoteur <papoteur@mageialinux-online.org>2016-01-24 17:47:51 +0100
commit4762bfc751b1b994cb129a80f7eb3424c503a4ea (patch)
tree191af757ab973bf2de25fbd4eeb06c78da376269
parent2af2dca162ff817cf11e2e6267add39ed38efbd1 (diff)
downloaddrakx-4762bfc751b1b994cb129a80f7eb3424c503a4ea.tar
drakx-4762bfc751b1b994cb129a80f7eb3424c503a4ea.tar.gz
drakx-4762bfc751b1b994cb129a80f7eb3424c503a4ea.tar.bz2
drakx-4762bfc751b1b994cb129a80f7eb3424c503a4ea.tar.xz
drakx-4762bfc751b1b994cb129a80f7eb3424c503a4ea.zip
suppress a trailing space in writing secrets (mga#10540)
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/remote/davfs.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index dd51e5847..01cd02139 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- davfs
+ o suppress a trailing space in writing secrets (mga#10540)
+
Version 16.104 - 13 June 2015
- diskdrake:
diff --git a/perl-install/fs/remote/davfs.pm b/perl-install/fs/remote/davfs.pm
index 5044b6e60..890530cb9 100644
--- a/perl-install/fs/remote/davfs.pm
+++ b/perl-install/fs/remote/davfs.pm
@@ -25,7 +25,7 @@ sub save_credentials {
@$credentials or return;
output_with_perm(secrets_file(), 0600,
- map { to_double_quoted($_->{mntpoint}, $_->{username}, $_->{password}, $_->{comment}) . "\n" } @$credentials);
+ map { to_double_quoted($_->{mntpoint}, $_->{username}, $_->{password}) . "\n" } @$credentials);
}
sub mountpoint_credentials_save {