mirror of
https://github.com/moby/buildkit.git
synced 2026-06-30 19:57:39 +00:00
Merge pull request #3005 from schdief/patch-1
ignore if kill can't find pid that is already gone
This commit is contained in:
@@ -19,7 +19,7 @@ set -eu
|
||||
# * addr
|
||||
# * log
|
||||
tmp=$(mktemp -d /tmp/buildctl-daemonless.XXXXXX)
|
||||
trap "kill \$(cat $tmp/pid); wait \$(cat $tmp/pid) || true; rm -rf $tmp" EXIT
|
||||
trap "kill \$(cat $tmp/pid) || true; wait \$(cat $tmp/pid) || true; rm -rf $tmp" EXIT
|
||||
|
||||
startBuildkitd() {
|
||||
addr=
|
||||
|
||||
Reference in New Issue
Block a user