diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-22 12:06:09 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-22 12:09:20 +0100 |
commit | fbcd17c52091cb51a86f0ab2acb5348a12b613e0 (patch) | |
tree | a20185d9213075b1236350b01ce0b59d4a2f6c54 /lacme | |
parent | 3eba02ef820a393bd5781be9f8fcda1611ae7c3d (diff) |
In lacme's the [accountd] config, let lacme-accountd(1) do the %-expansion for 'config'.
This matches the arguably expected behavior that ‘config = %h/foo’ is
passed as ‘--config=%h/foo’ and resolved by lacme-accountd(1) (possibly
remote and with another passwd database).
Diffstat (limited to 'lacme')
-rwxr-xr-x | lacme | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ sub acme_client($@) { my ($cmd, @args) = split(/\s+/, $accountd->{command}) or die "Empty accountd command\n"; $_ = spec_expand($_) foreach ($cmd, @args); # expand %-specifiers after privilege drop and whitespace split push @args, '--stdio'; - push @args, '--config='.spec_expand($accountd->{config}) if $accountd->{config} ne ''; + push @args, '--config='.$accountd->{config} if $accountd->{config} ne ''; push @args, '--privkey='.$accountd->{privkey} if $accountd->{privkey} ne ''; # XXX deprecated in 0.8.0 push @args, '--quiet' unless lc $accountd->{quiet} eq 'no'; push @args, '--debug' if $OPTS{debug}; |