summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2020-06-02 12:24:44 +0000
committerespie <espie@openbsd.org>2020-06-02 12:24:44 +0000
commit272da13ccec92bd9b806ee8d9a984716646f1626 (patch)
tree0f87b7ad0e123d7ecc3b1fd7f646b98a202bef42
parentuse the right abstraction to abort jobs, also show debug info as this (diff)
downloadwireguard-openbsd-272da13ccec92bd9b806ee8d9a984716646f1626.tar.xz
wireguard-openbsd-272da13ccec92bd9b806ee8d9a984716646f1626.zip
kill dead line
okay millert@
-rw-r--r--usr.bin/make/job.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index c3ac2d6b28b..38311691998 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: job.c,v 1.161 2020/06/02 12:24:09 espie Exp $ */
+/* $OpenBSD: job.c,v 1.162 2020/06/02 12:24:44 espie Exp $ */
/* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */
/*
@@ -163,7 +163,6 @@ really_kill(Job *job, int signo)
if (getpgid(pid) != getpgrp()) {
if (killpg(pid, signo) == 0)
return "group got signal";
- pid = -pid;
} else {
if (kill(pid, signo) == 0)
return "process got signal";