Skip to content

Commit aac449b

Browse files
committed
rabbitmq_prelaunch: Ignore SIGINFO and SIGWINCH
[Why] We don't have handlers for these signals and this causes a message to be logged.
1 parent 1158aca commit aac449b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

deps/rabbitmq_prelaunch/src/rabbit_prelaunch_sighandler.erl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@
2828
%% we can't handle SIGCONT, the signal used to resume the
2929
%% program. Unfortunately, it makes a SIGTSTP handler less
3030
%% useful here.
31-
sigtstp => ignore
31+
sigtstp => ignore,
32+
33+
%% SIGINFO is triggered on *BSD systems by Ctrl+T to query the status
34+
%% of the program. Things like the progress of a task.
35+
siginfo => ignore,
36+
37+
%% SIGWINCH is triggered when the terminal window size changes to
38+
%% allow the prograp to redraw its output.
39+
sigwinch => ignore
3240
}).
3341

3442
-define(SIGNAL_HANDLED_BY_ERLANG(Signal),

0 commit comments

Comments
 (0)