summarylogtreecommitdiffstats
path: root/ps-handle-sighup-578_all.patch
diff options
context:
space:
mode:
authorxsmile2017-03-18 01:35:04 +0100
committerxsmile2017-03-18 01:35:04 +0100
commit22b8e44314300a39a782f51c39c1ac3f11c59af6 (patch)
tree609604ce97339ef73ac9898e6e1cde8e32ab78fd /ps-handle-sighup-578_all.patch
parentf65d63490cdfb5ba2ab06efe6cbbe7194787eb4d (diff)
downloadaur-22b8e44314300a39a782f51c39c1ac3f11c59af6.tar.gz
update
Diffstat (limited to 'ps-handle-sighup-578_all.patch')
-rw-r--r--ps-handle-sighup-578_all.patch6
1 files changed, 6 insertions, 0 deletions
diff --git a/ps-handle-sighup-578_all.patch b/ps-handle-sighup-578_all.patch
new file mode 100644
index 00000000000..59a686082b4
--- /dev/null
+++ b/ps-handle-sighup-578_all.patch
@@ -0,0 +1,6 @@
+--- a/src/main.cc
++++ b/src/main.cc
+@@ -199,2 +199,3 @@ main(int argc, char** argv) {
+ SignalHandler::set_handler(SIGINT, std::tr1::bind(&Control::receive_normal_shutdown, control));
++ SignalHandler::set_handler(SIGHUP, std::tr1::bind(&Control::receive_normal_shutdown, control));
+ SignalHandler::set_handler(SIGTERM, std::tr1::bind(&Control::receive_quick_shutdown, control));