lib/sym/app/cli.rb in sym-2.7.0 vs lib/sym/app/cli.rb in sym-2.8.0
- old
+ new
@@ -85,10 +85,10 @@
end
rescue StandardError => e
log :error, "#{e.message}" if opts
error exception: e
- return
+ exit 127 if stdin == STDIN
end
self.application = ::Sym::Application.new(opts, stdin, stdout, stderr, kernel)
end