Handle interrupts.

This commit is contained in:
Glenn Y. Rolland 2015-11-28 09:48:10 +01:00
parent 5bb262dc92
commit 8654b94cae

View file

@ -19,6 +19,9 @@ require 'epafh'
#Net::IMAP.debug = true
begin
Epafh::App.start(ARGV)
rescue Interrupt
puts " Interrupt! Exiting."
exit 1
end