[pacman-dev] [PATCH] remove.c: make "target not found" error consistent with sync.c

andrew.gregory.8 at gmail.com andrew.gregory.8 at gmail.com
Sat Feb 4 11:05:13 EST 2012


From: Andrew Gregory <andrew.gregory.8 at gmail.com>

---
 src/pacman/remove.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 3de5769..508cd20 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -54,7 +54,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)) {
-- 
1.7.9



More information about the pacman-dev mailing list