diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-07-09 01:57:52 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-07-09 01:57:52 +0000 |
commit | 3e6992c128313373efe6ee719c3ec9fda28eb020 (patch) | |
tree | 99a84c5b7ddbb4e9231cfe9655290dcc7b8f0ee7 /usr.bin/cvs/cvs.c | |
parent | 23d9e8e5405c501fceeb054f285d5968d1ba9114 (diff) |
handle SIGPIPE correctly.
Diffstat (limited to 'usr.bin/cvs/cvs.c')
-rw-r--r-- | usr.bin/cvs/cvs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c index 026e9c91200..a3dc2fbc346 100644 --- a/usr.bin/cvs/cvs.c +++ b/usr.bin/cvs/cvs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.c,v 1.106 2006/07/07 17:37:17 joris Exp $ */ +/* $OpenBSD: cvs.c,v 1.107 2006/07/09 01:57:51 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> @@ -83,6 +83,7 @@ sighandler(int sig) switch (sig) { case SIGINT: case SIGTERM: + case SIGPIPE: cvs_quit = 1; break; default: |