Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get_sw_ver_info(): Return early if show_sw_ver argument is False
If get_sw_ver_info() argument show_sw_ver is False, there's no need to obtain version numbers from the Internet to then discard them. Reorder the argument check to return immediately. Resolves issue #7. Signed-off-by: Andreas Färber <afaerber@suse.de>
- Loading branch information