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:
Caio Marcelo de Oliveira Filho
2018-02-09 21:22:00 -08:00
committed by Matthew Johnson
parent 504b042e47
commit 2111507a57
-10
View File
@@ -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);