remove.c: make "target not found" error consistent with sync.c
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
0fdf0b19ce
commit
216db87f99
|
@ -50,7 +50,7 @@ static int remove_target(const char *target)
|
|||
/* fallback to group */
|
||||
alpm_group_t *grp = alpm_db_readgroup(db_local, target);
|
||||
if(grp == NULL) {
|
||||
pm_printf(ALPM_LOG_ERROR, "'%s': target not found\n", target);
|
||||
pm_printf(ALPM_LOG_ERROR, _("target not found: %s\n"), target);
|
||||
return -1;
|
||||
}
|
||||
for(p = grp->packages; p; p = alpm_list_next(p)) {
|
||||
|
|
Loading…
Reference in New Issue