aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-06-16 02:53:14 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-06-16 02:53:53 -0700
commit5d75ee7721d9bd09e38375caa3ab2394246c0f3d (patch)
treea4539caa033f7cf9e0da328fe01ed61acc4cb9e0 /proc.h
parent70208eb33a783579e528b8491166dc9d593153d1 (diff)
Mark jobs as completed when all processes have finished, not just the last one.
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index b320a49a..16383111 100644
--- a/proc.h
+++ b/proc.h
@@ -507,7 +507,7 @@ int job_is_stopped(const job_t *j);
/**
Tests if the job has completed, i.e. if the last process of the pipeline has ended.
*/
-int job_is_completed(const job_t *j);
+bool job_is_completed(const job_t *j);
/**
Reassume a (possibly) stopped job. Put job j in the foreground. If