2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-29 05:17:50 +00:00
Ondřej Lysoněk 2c8cca3d6c sensors: json: Do not print a stray comma
Previously, if an error happened when reading the value of a subfeature,
subCnt would get incremented and a stray comma would get printed in the
following iteration, even though nothing was printed in the previous
iteration. This would produce a syntactically incorrect JSON.

This is based on a patch from the su8 user on GitHub.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-05-05 11:43:44 +02:00
..
2018-10-05 17:59:30 +02:00
2018-09-01 19:38:55 +02:00
2018-09-01 19:38:55 +02:00
2019-01-26 22:12:15 +01:00
2018-09-01 19:38:55 +02:00
2018-09-01 19:38:55 +02:00