Fix conditional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
61ccf12e85
commit
8d3ff5691d
@ -218,7 +218,7 @@ end
|
||||
|
||||
def ignore_interrupts(opt = nil)
|
||||
std_trap = trap("INT") do
|
||||
puts "One sec, just cleaning up" unless opt = :quietly
|
||||
puts "One sec, just cleaning up" unless opt == :quietly
|
||||
end
|
||||
yield
|
||||
ensure
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user