Mercurial > hg > aboriginal
diff build.sh @ 719:428df726cf7f
Have system-image.sh do its own setsid variant so when it does dienow() it can kill all its own backgrounded processes, but won't take down the parent shell that ran it.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 24 Apr 2009 22:33:31 -0500 |
parents | 20ba34b54140 |
children | 759adf5a0fe9 |
line wrap: on
line diff
--- a/build.sh Sun Apr 19 06:24:23 2009 -0500 +++ b/build.sh Fri Apr 24 22:33:31 2009 -0500 @@ -43,9 +43,6 @@ then echo "=== Skipping system-image-$i (already there)" else - # We need to run this in a new session because the error handling behavior - # of this kills everything in its current session, which can kill a wrapper - # shell running us if we're not careful. - time setsid ./system-image.sh $i || exit 1 + time ./system-image.sh $i || exit 1 fi done