diff --git a/common/reexec/self_linux.go b/common/reexec/self_linux.go index e7bb038206..c19e989e77 100644 --- a/common/reexec/self_linux.go +++ b/common/reexec/self_linux.go @@ -1,3 +1,5 @@ +//go:build linux + package reexec // Self returns the path to the current process's binary. diff --git a/common/reexec/self_generic.go b/common/reexec/self_others.go similarity index 87% rename from common/reexec/self_generic.go rename to common/reexec/self_others.go index 0e83fd8eb1..6f17263674 100644 --- a/common/reexec/self_generic.go +++ b/common/reexec/self_others.go @@ -1,3 +1,5 @@ +//go:build !linux + package reexec // Self returns the path to the current process's binary.