about summary refs log tree commit diff
path: root/bin/tootctl
diff options
context:
space:
mode:
authorStarfall <admin@plural.cafe>2020-05-18 17:26:39 -0500
committerStarfall <admin@plural.cafe>2020-05-18 17:26:39 -0500
commit4d8b8d44466dd6312d4914c5a14667ac7eaffbb8 (patch)
treeb2d285555b362acd2ab9893e506062816c957525 /bin/tootctl
parent3de0fecfa24ac57adfdd068c0f565f5c53f621d3 (diff)
parentce87469d0a085b238646387fb01d78c206b83124 (diff)
Merge github.com:tootsuite/mastodon
Diffstat (limited to 'bin/tootctl')
-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