index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/pacman.c | 2 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 62b7cd02..8f640c8e 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -201,6 +201,8 @@ static void cleanup(int signum) { if(signum==SIGSEGV) { + /* write a log message and write to stderr */ + cb_log(PM_LOG_ERROR, "segmentation fault"); fprintf(stderr, "Internal pacman error: Segmentation fault.\n" "Please submit a full bug report with --debug if appropriate.\n"); exit(signum); |