about summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-05-20 18:22:42 +0200
committerThibaut Girka <thib@sitedethib.com>2020-05-20 18:22:42 +0200
commit27b5143dc4289fa87481899f6658f927e833ff9e (patch)
treec7f4b75274ae46db55b585a39ca427940d8fc218 /bin
parentb7e178d2e4102bdaa1ea41dfd8ed50093cf3f60a (diff)
parent50524d13278806573a4a685e428a6c9f3d7a74e5 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tootctl8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/tootctl b/bin/tootctl
index f26e1c7ed..a9ebb22c6 100755
--- a/bin/tootctl
+++ b/bin/tootctl
@@ -1,5 +1,11 @@
 #!/usr/bin/env ruby
 APP_PATH = File.expand_path('../config/application', __dir__)
+
 require_relative '../config/boot'
 require_relative '../lib/cli'
-Mastodon::CLI.start(ARGV)
+
+begin
+  Mastodon::CLI.start(ARGV)
+rescue Interrupt
+  exit(130)
+end