summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2004-08-06 20:09:22 +0000
committerjfb <jfb@openbsd.org>2004-08-06 20:09:22 +0000
commit6da17f1bc5ddbcfb7352d1fb8dd7b005c781c192 (patch)
treef1dc98e6ff1d2291bb0d28b4c3735250f3258bcc
parentSimplify cvs_splitpath() by requiring only one buffer to copy the result (diff)
downloadwireguard-openbsd-6da17f1bc5ddbcfb7352d1fb8dd7b005c781c192.tar.xz
wireguard-openbsd-6da17f1bc5ddbcfb7352d1fb8dd7b005c781c192.zip
Fix the SIGINT handler
-rw-r--r--usr.bin/cvs/cvsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvsd.c b/usr.bin/cvs/cvsd.c
index 8d7a20ec038..6a5b56fd912 100644
--- a/usr.bin/cvs/cvsd.c
+++ b/usr.bin/cvs/cvsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvsd.c,v 1.4 2004/08/02 15:59:38 jfb Exp $ */
+/* $OpenBSD: cvsd.c,v 1.5 2004/08/06 20:09:22 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -111,6 +111,7 @@ sighup_handler(int signo)
void
sigint_handler(int signo)
{
+ running = 0;
}