diff options
author | 2001-09-05 18:53:26 +0000 | |
---|---|---|
committer | 2001-09-05 18:53:26 +0000 | |
commit | 5ad19787fc343080b2fc22e372585d37510c0c60 (patch) | |
tree | d75d86b77ea3b66f70743fcc567977518adb56dd | |
parent | add kerberosV/ directories. However, kerberos(1) is kerb4-specific (diff) | |
download | wireguard-openbsd-5ad19787fc343080b2fc22e372585d37510c0c60.tar.xz wireguard-openbsd-5ad19787fc343080b2fc22e372585d37510c0c60.zip |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
-rw-r--r-- | libexec/lockspool/lockspool.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/lockspool/lockspool.c b/libexec/lockspool/lockspool.c index 3ff3a995744..dc0e0d162fd 100644 --- a/libexec/lockspool/lockspool.c +++ b/libexec/lockspool/lockspool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lockspool.c,v 1.5 2001/09/04 22:19:23 millert Exp $ */ +/* $OpenBSD: lockspool.c,v 1.6 2001/09/05 18:53:26 millert Exp $ */ /* * Copyright (c) 1998 Theo de Raadt <deraadt@theos.com> @@ -29,7 +29,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.5 2001/09/04 22:19:23 millert Exp $"; +static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.6 2001/09/05 18:53:26 millert Exp $"; #endif /* not lint */ #include <sys/signal.h> @@ -64,6 +64,7 @@ main(argc, argv) signal(SIGTERM, unhold); signal(SIGINT, unhold); signal(SIGHUP, unhold); + signal(SIGPIPE, unhold); if (argc == 2) from = argv[1]; |