diff options
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 894a0e5068d..f1719b6ef00 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.117 2011/04/13 20:53:18 gilles Exp $ */ +/* $OpenBSD: smtpd.c,v 1.118 2011/04/14 17:06:43 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -491,6 +491,10 @@ main(int argc, char *argv[]) if (!setup_spool(env.sc_pw->pw_uid, 0)) errx(1, "invalid directory permissions"); + env.sc_queue = queue_backend_lookup(QT_FS); + if (env.sc_queue == NULL) + errx(1, "could not find queue backend"); + log_init(debug); log_verbose(verbose); |