diff options
Diffstat (limited to 'usr.sbin/authpf/authpf.c')
-rw-r--r-- | usr.sbin/authpf/authpf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c index a7a0e4bf7ca..e73f026b201 100644 --- a/usr.sbin/authpf/authpf.c +++ b/usr.sbin/authpf/authpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authpf.c,v 1.100 2007/02/22 21:15:41 beck Exp $ */ +/* $OpenBSD: authpf.c,v 1.101 2007/02/22 21:54:23 beck Exp $ */ /* * Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org). @@ -834,8 +834,6 @@ do_death(int active) authpf_kill_states(); remove_stale_rulesets(); } - if (pidfp != NULL) - ftruncate(fileno(pidfp), 0); if (pidfile[0] && (pidfp != NULL)) if (unlink(pidfile) == -1) syslog(LOG_ERR, "cannot unlink %s (%m)", pidfile); |