mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
Warn about bundle not installed when running bundle-remove
In the case when trying to remove the non existing bundle first warn about that fact, then fail with an error. Signed-off-by: Jaime A. Garcia <jaime.garcia.naranjo@intel.com>
This commit is contained in:
committed by
Tudor Marcu
parent
a19f2600a4
commit
56904c079d
@@ -239,6 +239,7 @@ int remove_bundle(const char *bundle_name)
|
||||
|
||||
if (!is_tracked_bundle(bundle_name)) {
|
||||
ret = EBUNDLE_NOT_TRACKED;
|
||||
printf("Warning: Bundle \"%s\" does not seem to be installed\n", bundle_name);
|
||||
goto out_free_curl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user