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:
Jaime A. Garcia
2016-08-22 16:36:59 -07:00
committed by Tudor Marcu
parent a19f2600a4
commit 56904c079d
+1
View File
@@ -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;
}