aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'smtpd/smtpctl.c')
-rw-r--r--smtpd/smtpctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/smtpd/smtpctl.c b/smtpd/smtpctl.c
index 7ba9bfc1..81c6a17a 100644
--- a/smtpd/smtpctl.c
+++ b/smtpd/smtpctl.c
@@ -1065,7 +1065,9 @@ main(int argc, char **argv)
int privileged;
char *argv_mailq[] = { "show", "queue", NULL };
+#ifndef HAVE___PROGNAME
__progname = ssh_get_progname(argv[0]);
+#endif
sendmail_compat(argc, argv);
privileged = geteuid() == 0;