mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 22:21:32 +00:00
read_versions is a function that attempts to read the current version of the target system and the server version, but if there is an error reading any of those values no action was performed so it was necessary to validate these values wherever the function was being used, duplicating code. This commit adds a verification to make sure the current version of the target system and the server version was able to be identified. Closes #589 Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>