Permalink
Browse files

Trapping SIGINT to suppress backtrace when killing command

  • Loading branch information...
1 parent 1e92e73 commit 595d34ae15904d024be3577f36bc33792402ff7e @mattt mattt committed Jul 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/ios
View
@@ -7,6 +7,7 @@ require 'term/ansicolor'
require 'cupertino'
HighLine.track_eof = false # Fix for built-in Ruby
+Signal.trap("INT") {} # Suppress backtrace when exiting command
program :version, Cupertino::VERSION
program :description, 'A command-line interface for the iOS Provisioning Portal'

0 comments on commit 595d34a

Please sign in to comment.