aboutsummaryrefslogtreecommitdiffstats
path: root/lacme
diff options
context:
space:
mode:
Diffstat (limited to 'lacme')
-rwxr-xr-xlacme4
1 files changed, 2 insertions, 2 deletions
diff --git a/lacme b/lacme
index 2f239e2..7800429 100755
--- a/lacme
+++ b/lacme
@@ -114,7 +114,7 @@ do {
user => '',
group => '',
command => '@@bindir@@/lacme-accountd',
- config => '@@sysconfdir@@/lacme/lacme-accountd.conf',
+ config => '',
privkey => undef,
quiet => 'Yes',
}
@@ -511,7 +511,7 @@ sub acme_client($@) {
open STDOUT, '>&', $s or die "dup: $!";
my ($cmd, @args) = split(/\s+/, $accountd->{command}) or die "Empty accountd command\n";
push @args, '--stdio';
- push @args, '--config='.$accountd->{config} if defined $accountd->{config};
+ push @args, '--config='.$accountd->{config} if $accountd->{config} ne '';
push @args, '--privkey='.$accountd->{privkey} if defined $accountd->{privkey};
push @args, '--quiet' unless lc $accountd->{quiet} eq 'no';
push @args, '--debug' if $OPTS{debug};