summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2003-04-20 02:37:01 +0000
committerBob Beck <beck@cvs.openbsd.org>2003-04-20 02:37:01 +0000
commit591125abaa980ca81223ce05ef1bf43a5b46ab26 (patch)
treecaeecab26444bad0a8da22a33610b07c7fad32f3 /usr.sbin
parent5422952254ee0d86b1ffa86132c2b28ee1beb7bf (diff)
authpf is supposed to die if the /etc/authpf/authpf.conf is not present.
pr # 3217, patch from frisco@blackant.net
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/authpf/authpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 8e6d9d901bf..2f97980d009 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.53 2003/02/19 00:03:22 deraadt Exp $ */
+/* $OpenBSD: authpf.c,v 1.54 2003/04/20 02:37:00 beck Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -242,7 +242,7 @@ main(int argc, char *argv[])
do_death(0);
openlog("authpf", LOG_PID | LOG_NDELAY, LOG_DAEMON);
- if (config != NULL && read_config(config))
+ if (config == NULL || read_config(config))
do_death(0);
if (remove_stale_rulesets())