summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index d240263d..c4dc848f 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -202,17 +202,13 @@ static void cleanup(int signum)
{
if(signum==SIGSEGV)
{
- fprintf(stderr, "Internal pacman error: Segmentation fault\n"
- "Please submit a full bug report, with the given package if appropriate.\n");
+ fprintf(stderr, "Internal pacman error: Segmentation fault.\n"
+ "Please submit a full bug report with --debug if appropriate.\n");
exit(signum);
} else if((signum == SIGINT) && (alpm_trans_release() == -1)
&& (pm_errno == PM_ERR_TRANS_COMMITING)) {
return;
}
- if(signum != 0) {
- /* TODO why is this here? */
- fprintf(stderr, "\n");
- }
/* free alpm library resources */
if(alpm_release() == -1) {
@@ -226,9 +222,6 @@ static void cleanup(int signum)
config = NULL;
}
- /* This fixes up any missing newlines (neednl) */
- MSG(NL, "");
-
exit(signum);
}