summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Bakken <lbakken@pivotal.io>2020-01-31 17:49:58 +0000
committerLuke Bakken <lbakken@pivotal.io>2020-01-31 17:49:58 +0000
commitfa607e4a25d6142bb17a90b44ef757572a923c09 (patch)
treef47b34a16abd30196bf578fc8784d8e3d048affe /src
parentaa48d22d073c2b10122a920034dc4f6825424cab (diff)
downloadrabbitmq-server-git-fa607e4a25d6142bb17a90b44ef757572a923c09.tar.gz
Ignore SIGUSR2 signal as well
Fixes #2222
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_os_signal_handler.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_os_signal_handler.erl b/src/rabbit_os_signal_handler.erl
index df1a421f09..d221143379 100644
--- a/src/rabbit_os_signal_handler.erl
+++ b/src/rabbit_os_signal_handler.erl
@@ -38,6 +38,9 @@ handle_event(sigquit, State) ->
handle_event(sigusr1, State) ->
rabbit_log:info("Received a SIGUSR1, ignoring it"),
{ok, State};
+handle_event(sigusr2, State) ->
+ rabbit_log:info("Received a SIGUSR2, ignoring it"),
+ {ok, State};
%% note: SIGHUP can/will be handled by shells and process managers
handle_event(sighup, State) ->
rabbit_log:info("Received a SIGHUP, ignoring it"),