mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 23:38:25 +00:00
Revert "Always print "Removing bundle" when removing"
This reverts commit 75864a3afa.
This commit is contained in:
+5
-2
@@ -559,6 +559,11 @@ enum swupd_code remove_bundles(char **bundles)
|
||||
goto out_free_curl;
|
||||
}
|
||||
|
||||
/* only show this message if there are multiple bundles to be removed */
|
||||
if (*(bundles + 1) || total > 0) {
|
||||
info("Removing bundle: %s\n", bundle);
|
||||
}
|
||||
|
||||
current_mom = load_mom(current_version, false, mix_exists, NULL);
|
||||
if (!current_mom) {
|
||||
error("Unable to download/verify %d Manifest.MoM\n", current_version);
|
||||
@@ -567,8 +572,6 @@ enum swupd_code remove_bundles(char **bundles)
|
||||
goto out_free_curl;
|
||||
}
|
||||
|
||||
info("\nRemoving bundle: %s\n", bundle);
|
||||
|
||||
if (!search_bundle_in_manifest(current_mom, bundle)) {
|
||||
error("Bundle name is invalid, aborting removal\n");
|
||||
ret = SWUPD_INVALID_BUNDLE;
|
||||
|
||||
Reference in New Issue
Block a user