From 05a296d2189b7c23b10728f31e889cbe5d745b14 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Sat, 18 May 2019 19:43:00 +0200 Subject: [PATCH] minor fix --- collect/resh-collect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collect/resh-collect.go b/collect/resh-collect.go index 425097e..a905d0c 100644 --- a/collect/resh-collect.go +++ b/collect/resh-collect.go @@ -157,7 +157,7 @@ func getMachineId() string { if err != nil { log.Fatal("failed to open /etc/machine-id") } - return string(dat) + return strings.TrimSuffix(string(dat), "\n") } func getGitDir() string {