exe/sym in sym-2.7.0 vs exe/sym in sym-2.8.0
- old
+ new
@@ -6,13 +6,14 @@
require 'sym'
require 'sym/app'
#ARGV.any?{ |a| a =~ /^-/ } ?
begin
- ::Sym::App::CLI.new(ARGV.dup).execute
+ exit ::Sym::App::CLI.new(ARGV.dup).execute
rescue Interrupt => e
STDERR.flush
STDERR.puts "Interrupt, #{e.message}, exiting."
STDERR.flush
+ exit 1
end