diff options
author | Allan McRae <allan@archlinux.org> | 2014-06-29 10:39:14 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-06-29 10:59:46 +1000 |
commit | 07647d3d43d418f9efcf7c83a2079b9b673a7bfa (patch) | |
tree | 0e81cf437adfba2fb4bd6ad6a13bbcea4cf35f90 /src | |
parent | fa0c1e1419b4a73b4a522bc6f4117b8bf337eabe (diff) | |
download | pacman-07647d3d43d418f9efcf7c83a2079b9b673a7bfa.tar.xz |
Revert refactoring in fa0c1e14
This will cause the code to break as soon as we handle another signal such
as SIGWINCH...
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 2 |
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 { |