From 2111507a57c4b7ea660ba65e0436f51038c8fbb2 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Thu, 8 Feb 2018 22:04:18 -0800 Subject: [PATCH] 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. --- src/clr_bundle_ls.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/clr_bundle_ls.c b/src/clr_bundle_ls.c index af024781..51f12aca 100644 --- a/src/clr_bundle_ls.c +++ b/src/clr_bundle_ls.c @@ -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);