Open lts-po opened 3 months ago
Thanks for reporting this and the fix suggestion! I'll get this in the next release.
I have a fix in the dev
branch and this will be in the next release.
https://github.com/kellyjonbrazil/jc/commit/40eb2b7ef60184a049c34c4f423585f31e42fd99
Problem
When running ubuntu 24.04 in docker uptime reports "0 user" so the parser will not match. Looks like its updated to say "user" instead of "users" when <=1, which the parser is using for matching.
Steps to reproduce
in docker:
More info
Fix Change match on 'users' to 'user' to catch both: https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/uptime.py#L165
Example output with patch: