[pacman-dev] [PATCH] Clarify remove error message.
Chantry Xavier
shiningxc at gmail.com
Sat Feb 2 17:51:39 EST 2008
Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
---
src/pacman/remove.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 56837fa..ee4e84a 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -108,8 +108,7 @@ int pacman_remove(alpm_list_t *targets)
char *targ = alpm_list_getdata(i);
if(alpm_trans_addtarget(targ) == -1) {
printf("failed.\n");
- fprintf(stderr, _("error: failed to add target '%s' (%s)\n"), targ,
- alpm_strerrorlast());
+ fprintf(stderr, _("error: could not find '%s' to remove\n"), targ);
remove_cleanup();
FREELIST(finaltargs);
return(1);
--
1.5.4.rc4
More information about the pacman-dev
mailing list