diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-06 02:31:23 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-06 02:31:23 +0100 |
commit | eca30ed66accd7c1555eb94cbdea60051efcf7f3 (patch) | |
tree | 3ec7f3387dea753bb68968c66597a1aa8e091ab4 /src/pacman/add.c | |
parent | 93a3050ed9e9735352013014da52adcdf896f95f (diff) | |
parent | b29838c8250125a22016c16180e941d059d55539 (diff) | |
download | pacman-eca30ed66accd7c1555eb94cbdea60051efcf7f3.tar.gz pacman-eca30ed66accd7c1555eb94cbdea60051efcf7f3.tar.xz |
Merge branch 'maint'
Conflicts:
contrib/gensync
contrib/updatesync
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r-- | src/pacman/add.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c index 975d26be..debe5c47 100644 --- a/src/pacman/add.c +++ b/src/pacman/add.c @@ -115,8 +115,9 @@ int pacman_add(alpm_list_t *targets) for(i = targets; i; i = alpm_list_next(i)) { char *targ = alpm_list_getdata(i); if(alpm_trans_addtarget(targ) == -1) { - fprintf(stderr, _("error: failed to add target '%s' (%s)"), targ, - alpm_strerrorlast()); + printf("failed.\n"); + fprintf(stderr, _("error: '%s': %s\n"), + targ, alpm_strerrorlast()); add_cleanup(); return(1); } |