Handle interrupts.
This commit is contained in:
parent
5bb262dc92
commit
8654b94cae
1 changed files with 6 additions and 3 deletions
|
@ -19,6 +19,9 @@ require 'epafh'
|
|||
|
||||
#Net::IMAP.debug = true
|
||||
|
||||
|
||||
Epafh::App.start(ARGV)
|
||||
|
||||
begin
|
||||
Epafh::App.start(ARGV)
|
||||
rescue Interrupt
|
||||
puts " Interrupt! Exiting."
|
||||
exit 1
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue