summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 15:32:06 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 15:32:06 (EDT)
commit96522774285e75d4b607a674463d5ad4ed51b2ba (patch)
treed1c12c3ff737baf1110eae6e14e6118919ae16ed
parentc6827c8ce741308f4575243e95c0f5f5a95d5511 (diff)
Revert "error(): Kill whole process group"
This reverts commit c6827c8ce741308f4575243e95c0f5f5a95d5511. Fixes: $ make check [...] make[2]: *** Deleting file 'tests/include-existing.log' tap-driver.sh: fatal: I/O or internal error Makefile:962: recipe for target 'tests/include-existing.log' failed make[2]: *** [tests/include-existing.log] Error 1 Makefile:941: recipe for target 'check-TESTS' failed make[1]: *** [check-TESTS] Interrupt Makefile:1140: recipe for target 'check-am' failed make: *** [check-am] Interrupt
-rw-r--r--src/output.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output.sh b/src/output.sh
index 17f52ba..94cc32a 100644
--- a/src/output.sh
+++ b/src/output.sh
@@ -32,7 +32,7 @@ error()
# In a subshell, this will have no effect, so the shell's exit status
# will be 128+SIGINT. Meh.
exit_status=${status}
- kill -s INT 0
+ kill -s INT ${$}
}
warn()