njmon.linux.v80 Off-by-one os info string copy
Linux performance monitoring on-screen or to CSV file
Brought to you by:
nigelgriffiths
The copy of strings from /etc/os-release starts att one position too far into the source string. If the value starts with a space or a double quote character this does not show up. However, for Fedora the VERSION_ID is a string of digits with no leading double quote causing Fedora release 37 showing up in the database as version_id=7
I'm happy to be a guinea pig and help to root the out as they occur :-)
On Mon, Nov 14, 2022 at 5:56 AM Nigel Griffiths nigelgriffiths@users.sourceforge.net wrote:
Related
Patches: #18
This is the Linux curse!
As there are differing standards in system file content across distros and even versions within the distro. There is no alternative than to hitting each inconsisancy in turn.