Skip to content

Commit

Permalink
Merge pull request #199 from scotje/333_rescue_interrupt
Browse files Browse the repository at this point in the history
(SDK-333) Rescue Interrupt cleanly
  • Loading branch information
scotje authored Jul 27, 2017
2 parents d2a0f4a + 90fffe6 commit a7dfe97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion exe/pdk
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

require 'pdk/cli'

PDK::CLI.run(ARGV)
begin
PDK::CLI.run(ARGV)
rescue Interrupt
warn "\nAborted!"
exit 1
end

0 comments on commit a7dfe97

Please sign in to comment.