projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec3f2d
)
multijob_post_fork: simpler handling of return value
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 14 May 2012 17:35:29 +0000
(13:35 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 14 May 2012 18:51:05 +0000
(14:51 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bin/helper-functions.sh
patch
|
blob
|
history
diff --git
a/bin/helper-functions.sh
b/bin/helper-functions.sh
index 37f0b1337d8ddd9d542681c4f5d2fa07378d9a1f..afe14af91c9018c130504a43a8a2f7c3c21e0b3e 100644
(file)
--- a/
bin/helper-functions.sh
+++ b/
bin/helper-functions.sh
@@
-54,11
+54,9
@@
multijob_finish() {
}
multijob_post_fork() {
- local ret=0
: $(( ++mj_num_jobs ))
if [[ ${mj_num_jobs} -ge ${mj_max_jobs} ]] ; then
multijob_finish_one
- : $(( ret |= $? ))
fi
- return $
{ret}
+ return $
?
}