summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorjustauser <[email protected]>2013-05-29 07:52:20 -0400
committerjustauser <[email protected]>2013-05-29 07:52:20 -0400
commit7aab5617b689701cd9b6210132ed4e9dd55d3941 (patch)
tree7c8d51231f0c0bc9207e048437a50546c961c60d /update_daemon2.php
parent991418fa566ff462d9616123168c5f7f839cdc15 (diff)
parent67e0cf9a371fca46405e7df26ccc970ce6b408cc (diff)
Merge branch 'master' into jremote
latest master checkins
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index d5b6a45e3..9d948a64d 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -203,6 +203,7 @@
if (!$master_handlers_installed) {
_debug("[MASTER] installing shutdown handlers");
pcntl_signal(SIGINT, 'sigint_handler');
+ pcntl_signal(SIGTERM, 'sigint_handler');
register_shutdown_function('shutdown', posix_getpid());
$master_handlers_installed = true;
}