Skip to content

Commit

Permalink
chore: fix indentation in dockerd-wrapper.sh (#4098)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcb authored May 7, 2024
1 parent d41befb commit 335389e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildkitd/dockerd-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ execute() {
mkdir /sys/fs/cgroup/dockerd-wrapper
echo $$ > /sys/fs/cgroup/dockerd-wrapper/cgroup.procs

# earthly wraps dockerd-wrapper.sh with a call via /bin/sh -c '....'
# so we also need to move the parent pid into this new group, which is weird
# TODO: we should unwrap this so $$ is all we need to move
# earthly wraps dockerd-wrapper.sh with a call via /bin/sh -c '....'
# so we also need to move the parent pid into this new group, which is weird
# TODO: we should unwrap this so $$ is all we need to move
echo 1 > /sys/fs/cgroup/dockerd-wrapper/cgroup.procs

if [ "$(wc -l < /sys/fs/cgroup/cgroup.procs)" != "0" ]; then
Expand Down

0 comments on commit 335389e

Please sign in to comment.