From 97351d2736662636b481d5217a149428b9d66c5c Mon Sep 17 00:00:00 2001 From: Niv Govrin Date: Thu, 6 Jun 2024 09:36:24 +0000 Subject: [PATCH] fix: remove tab in empty line --- internal/common/common_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/common/common_linux.go b/internal/common/common_linux.go index 89a682e8e..541de93d3 100644 --- a/internal/common/common_linux.go +++ b/internal/common/common_linux.go @@ -100,7 +100,7 @@ func BootTimeWithContext(ctx context.Context, enableCache bool) (uint64, error) return handleBootTimeFileReadErr(err) } currentTime := float64(time.Now().UnixNano()) / float64(time.Second) - + if len(lines) != 1 { return 0, fmt.Errorf("wrong uptime format") }