We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc5a57 commit 81c553eCopy full SHA for 81c553e
1 file changed
scripts/lib/docker-build.sh
@@ -152,9 +152,10 @@ docker_build_run_logged() {
152
fi
153
done < <(pgrep -P "$process_id" 2>/dev/null || true)
154
155
- kill -s "$signal" -- "-$process_id" 2>/dev/null ||
156
- kill -s "$signal" "$process_id" 2>/dev/null ||
157
- true
+ # A successful group signal does not prove this exact PID was in that group;
+ # send both so timeout/build wrappers cannot exit while their command stays alive.
+ kill -s "$signal" -- "-$process_id" 2>/dev/null || true
158
+ kill -s "$signal" "$process_id" 2>/dev/null || true
159
}
160
161
docker_build_stop_tracked_build() {
0 commit comments