bin/daigaku in daigaku-0.6.0 vs bin/daigaku in daigaku-1.0.0
- old
+ new
@@ -4,9 +4,13 @@
begin
require 'daigaku'
rescue LoadError => e
warn "could not load \"daigaku\"\n#{e}"
- exit -1
+ exit(-1)
end
-Daigaku::Terminal::CLI.start
+begin
+ Daigaku::Terminal::CLI.start
+rescue Interrupt
+ puts "\n\n\tš See you soon!"
+end