aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2020-07-27 17:04:11 +0200
committerGitHub <noreply@github.com>2020-07-27 17:04:11 +0200
commit1bcf247e4a0bef00ea3c4c8e8e9c5343bf2999a7 (patch)
tree6183e53e1547fe841eafe018c2f8df2b49f1463c
parentasr has had an errata in OpenBSD, OpenSMTPD is not affected but we (diff)
parentfix bug with "smtpctl encrypt" (diff)
downloadOpenSMTPD-1bcf247e4a0bef00ea3c4c8e8e9c5343bf2999a7.tar.xz
OpenSMTPD-1bcf247e4a0bef00ea3c4c8e8e9c5343bf2999a7.zip
Merge pull request #1073 from xukl/master
fix bug with "smtpctl encrypt"
-rw-r--r--usr.sbin/smtpd/smtpctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 7dba4224..b255ed3d 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -966,7 +966,7 @@ do_encrypt(int argc, struct parameter *argv)
if (argv)
p = argv[0].u.u_str;
- execl(PATH_ENCRYPT, "encrypt", "--", p, (char *)NULL);
+ execl(PATH_ENCRYPT, "encrypt", p, (char *)NULL);
errx(1, "execl");
}