Skip to content

Commit

Permalink
fix: remove tab in empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
govrin committed Jun 6, 2024
1 parent b6c524e commit 97351d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/common_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 97351d2

Please sign in to comment.