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
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ static int remove_target(const char *target)
|
||||||
/* fallback to group */
|
/* fallback to group */
|
||||||
alpm_group_t *grp = alpm_db_readgroup(db_local, target);
|
alpm_group_t *grp = alpm_db_readgroup(db_local, target);
|
||||||
if(grp == NULL) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
for(p = grp->packages; p; p = alpm_list_next(p)) {
|
for(p = grp->packages; p; p = alpm_list_next(p)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue