From a432e8e23a65c9e32e14894e02b27c938077e335 Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Thu, 13 Jun 2024 14:40:48 +0200 Subject: [PATCH] Fix checkFileAndProcess function on FreeBSD (#2128) --- client/system/info.go | 2 +- client/system/process.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/system/info.go b/client/system/info.go index 4b0970ceb..2af2e637b 100644 --- a/client/system/info.go +++ b/client/system/info.go @@ -58,7 +58,7 @@ type Info struct { SystemProductName string SystemManufacturer string Environment Environment - Files []File + Files []File // for posture checks } // extractUserAgent extracts Netbird's agent (client) name and version from the outgoing context diff --git a/client/system/process.go b/client/system/process.go index b44e66ec6..2e43fcfe0 100644 --- a/client/system/process.go +++ b/client/system/process.go @@ -1,4 +1,4 @@ -//go:build windows || (linux && !android) || (darwin && !ios) +//go:build windows || (linux && !android) || (darwin && !ios) || freebsd package system