only display disregarded signals, if there are disregarded signals
This commit is contained in:
parent
960f3ef7a9
commit
37ac8bb3db
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class RobustServer
|
|||
exit 2
|
||||
end
|
||||
ensure
|
||||
output.puts "Disregarded signals: #{@signals.map(&Signal.method(:[])).join( ', ')}"
|
||||
output.puts "Disregarded signals: #{@signals.map(&Signal.method(:[])).join( ', ')}" unless @signals.empty?
|
||||
trapping
|
||||
self.at_exit
|
||||
output.puts "Shutdown."
|
||||
|
|
Loading…
Reference in a new issue