diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | pbuilder-buildpackage | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-08-27 Junichi Uekawa <dancer@debian.org> + + * pbuilder-buildpackage (BUILD_PID): race condition with + termination. Make it display message before KILL. + 2002-08-24 Junichi Uekawa <dancer@debian.org> * pbuilder-buildpackage (BUILD_PID): add error checking for "kill" diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index a04a5d5..af2c2c2 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -133,8 +133,8 @@ if [ -n ${TIMEOUT_TIME} ]; then ( : Timeout process sleep "${TIMEOUT_TIME}"; - kill ${BUILD_PID} || true echo " -> Terminating build process due to timeout " + kill ${BUILD_PID} || true ) & # timeout process KILL_WAIT_PID="kill $! || true; echo \" -> Terminate timeout process\"; " else |