diff --git a/src/3rd_party_remove.c b/src/3rd_party_remove.c index 538e69da..b6cc85f0 100644 --- a/src/3rd_party_remove.c +++ b/src/3rd_party_remove.c @@ -120,7 +120,8 @@ enum swupd_code third_party_remove_main(int argc, char **argv) } /* set the appropriate content_dir and state_dir for the selected 3rd-party repo */ - if (third_party_set_repo(repo, globals.sigcheck)) { + ret = third_party_set_repo(repo, globals.sigcheck); + if (ret) { goto exit; }