Skip to content

Commit be68723

Browse files
committed
L #-: Lint monitord client
1 parent 713287b commit be68723

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/im_mad/remotes/common.d/monitord-client.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,10 @@ def to_monitord(config)
339339

340340
signal_r, signal_w = IO.pipe
341341

342-
Signal.trap("SIGUSR1") do
343-
signal_w.write_nonblock("s")
342+
Signal.trap('SIGUSR1') do
343+
signal_w.write_nonblock('s')
344344
rescue StandardError
345+
# ignore, handler should not raise
345346
end
346347

347348
threads = []

0 commit comments

Comments
 (0)