From d4e5310d347e63545049e7b130700ea9190c6c39 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Thu, 19 Oct 2023 15:15:03 +0200 Subject: [PATCH] common/reexec: fix build tags --- common/reexec/self_linux.go | 2 ++ common/reexec/{self_generic.go => self_others.go} | 2 ++ 2 files changed, 4 insertions(+) rename common/reexec/{self_generic.go => self_others.go} (87%) 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.