aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxukl <xu2k3l4@outlook.com>2020-07-02 22:36:13 +0800
committerxukl <xu2k3l4@outlook.com>2020-07-02 22:36:13 +0800
commit0f8098518af277a62aa2658a0af7aa3fa5ac2120 (patch)
tree6183e53e1547fe841eafe018c2f8df2b49f1463c
parentasr has had an errata in OpenBSD, OpenSMTPD is not affected but we (diff)
downloadOpenSMTPD-0f8098518af277a62aa2658a0af7aa3fa5ac2120.tar.xz
OpenSMTPD-0f8098518af277a62aa2658a0af7aa3fa5ac2120.zip
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");
}