summaryrefslogtreecommitdiff
path: root/libproxy/modules/pxgconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libproxy/modules/pxgconf.cpp')
-rw-r--r--libproxy/modules/pxgconf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/modules/pxgconf.cpp b/libproxy/modules/pxgconf.cpp
index 4a1e17c..d6276a8 100644
--- a/libproxy/modules/pxgconf.cpp
+++ b/libproxy/modules/pxgconf.cpp
@@ -130,7 +130,7 @@ int main(int argc, char **argv) {
if (argc < 2) return 1;
// Register sighup handler
- if (signal(SIGHUP, on_sig) == SIG_ERR || signal(SIGPIPE, on_sig) == SIG_ERR) {
+ if (signal(SIGHUP, on_sig) == SIG_ERR || signal(SIGPIPE, on_sig) == SIG_ERR || signal(SIGABRT, on_sig) == SIG_ERR) {
fprintf(stderr, "Unable to trap signals!");
return 2;
}