Skip to content

Commit 90fffe6

Browse files
committed
(SDK-333) Rescue Interrupt cleanly
1 parent d2a0f4a commit 90fffe6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

exe/pdk

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
require 'pdk/cli'
44

5-
PDK::CLI.run(ARGV)
5+
begin
6+
PDK::CLI.run(ARGV)
7+
rescue Interrupt
8+
warn "\nAborted!"
9+
exit 1
10+
end

0 commit comments

Comments
 (0)