mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
fix syntax so it is interpreted correctly
This commit is contained in:
parent
58d9824920
commit
b138532421
2 changed files with 2 additions and 2 deletions
|
@ -393,7 +393,7 @@ module Puma
|
|||
stop_workers
|
||||
stop
|
||||
|
||||
raise SignalException, "SIGTERM" if @options[:raise_exception_on_sigterm]
|
||||
raise(SignalException, "SIGTERM") if @options[:raise_exception_on_sigterm]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -397,7 +397,7 @@ module Puma
|
|||
Signal.trap "SIGTERM" do
|
||||
graceful_stop
|
||||
|
||||
raise SignalException, "SIGTERM" if @options[:raise_exception_on_sigterm]
|
||||
raise(SignalException, "SIGTERM") if @options[:raise_exception_on_sigterm]
|
||||
end
|
||||
rescue Exception
|
||||
log "*** SIGTERM not implemented, signal based gracefully stopping unavailable!"
|
||||
|
|
Loading…
Reference in a new issue