Permalink
Browse files

Rescue Interrupts and exit cleanly.

  • Loading branch information...
1 parent 3b13838 commit 6046692d89939175e144503bd1b99608349a7f3f @postmodern postmodern committed Mar 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/ronin/ui/cli/command.rb
@@ -232,6 +232,8 @@ def start(argv=ARGV)
begin
run
+ rescue Interrupt
+ exit
rescue => error
print_exception(error)
exit -1

0 comments on commit 6046692

Please sign in to comment.