summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index e8c5f9e3..baa0485b 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -301,7 +301,7 @@ static void handler(int signum)
"Please submit a full bug report with --debug if appropriate.\n";
xwrite(err, msg, strlen(msg));
exit(signum);
- } else if(signum != SIGTERM) {
+ } else if(signum == SIGINT || signum == SIGHUP) {
if(signum == SIGINT) {
msg = "\nInterrupt signal received\n";
} else {