all: make vendored copy of reexec (#28382)

a little copying is better than a little dependency

-- go proverb

We have this dependency on docker, a.k.a moby: a gigantic library, and we only need ~70 LOC,
so here I tried moving it inline instead.

Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
Martin Holst Swende
2023-10-28 00:14:43 +02:00
committed by GitHub
co-authored by Felix Lange
parent 2d7dba024d
commit 233db64cc1
14 changed files with 90 additions and 16 deletions
+1 -1
View File
@@ -21,8 +21,8 @@ import (
"os"
"testing"
"github.com/docker/docker/pkg/reexec"
"github.com/ethereum/go-ethereum/internal/cmdtest"
"github.com/ethereum/go-ethereum/internal/reexec"
)
type testEthkey struct {