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
|
exit 2
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
output.puts "Disregarded signals: #{@signals.map(&Signal.method(:[])).join( ', ')}"
|
output.puts "Disregarded signals: #{@signals.map(&Signal.method(:[])).join( ', ')}" unless @signals.empty?
|
||||||
trapping
|
trapping
|
||||||
self.at_exit
|
self.at_exit
|
||||||
output.puts "Shutdown."
|
output.puts "Shutdown."
|
||||||
|
|
Loading…
Reference in a new issue