mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00
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>
This commit is contained in:
parent
fa0c1e1419
commit
07647d3d43
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user