mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 12:58:06 +01:00
199bbbcb9f
Fix #13762 Catch tootctl interrupt to prevent confusing stacktrace
11 lines
215 B
Ruby
Executable file
11 lines
215 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
|
|
require_relative '../config/boot'
|
|
require_relative '../lib/cli'
|
|
|
|
begin
|
|
Mastodon::CLI.start(ARGV)
|
|
rescue Interrupt
|
|
exit(130)
|
|
end
|