diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-10-23 10:28:44 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-10-23 10:29:01 +0000 |
commit | 4d5789532a940144c869d66505e756ce816f8a50 (patch) | |
tree | aa09b1e0a45e875b67b1054ac2cedea7d91872bb /sys/contrib/openzfs/cmd/zed | |
parent | bfda98a42027417b2fa74738c63327532013e93b (diff) |
When producing formatted output, trim leading whitespace and trailing
commas from the human-readable time and uptime before emitting them.
The text output remains unchanged.
PR: 290089
Fixes: 6e6febb54da9 ("w: Fix idle time in json output, add login/idle times to json output")
Reviewed by: marius.h_lden.org
Differential Revision: https://reviews.freebsd.org/D53167
Diffstat (limited to 'sys/contrib/openzfs/cmd/zed')
0 files changed, 0 insertions, 0 deletions