aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 02:16:14 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 02:16:14 -0800
commitc9c2fc5ee346e15e934dd72ed08774d769cfd7a1 (patch)
tree0746962ac6267fcccb25eb6950074450d7bbc47d /proc.cpp
parentb79854ad1aa814d9d35d76a1929b4726fa4bffa5 (diff)
Restore terminal foreground process group on exit
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/proc.cpp b/proc.cpp
index deeb0ed8..7e6cb1a1 100644
--- a/proc.cpp
+++ b/proc.cpp
@@ -350,7 +350,8 @@ int job_signal( job_t *j, int signal )
/**
Store the status of the process pid that was returned by waitpid.
- Return 0 if all went well, nonzero otherwise.
+ Return 0 if all went well, nonzero otherwise.
+ This is called from a signal handler.
*/
static void mark_process_status( const job_t *j,
process_t *p,