fix: remove tab in empty line

pull/1655/head
Niv Govrin 11 months ago
parent b6c524eda4
commit 97351d2736

@ -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")
}

Loading…
Cancel
Save