mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
Don't show OS version after the bundles
When listing installed bundles, the OS version was printed after the bundles, unlike the other cases that just show the list. Now that there is a command that shows the version (swupd info) it should be fine to take that out.
This commit is contained in:
committed by
Matthew Johnson
parent
504b042e47
commit
2111507a57
@@ -202,16 +202,6 @@ int bundle_list_main(int argc, char **argv)
|
||||
ret = list_installable_bundles();
|
||||
} else {
|
||||
ret = list_local_bundles();
|
||||
|
||||
current_version = get_current_version(path_prefix);
|
||||
if (current_version < 0) {
|
||||
fprintf(stderr, "Error: Unable to determine current OS version\n");
|
||||
v_lockfile(lock_fd);
|
||||
return ECURRENT_VERSION;
|
||||
}
|
||||
|
||||
/* Should this be a different command */
|
||||
fprintf(stderr, "Current OS version: %d\n", current_version);
|
||||
}
|
||||
|
||||
swupd_deinit(lock_fd, NULL);
|
||||
|
||||
Reference in New Issue
Block a user