Skip to content

A platform for community discussion. Free, open, simple.

DEV: Return a non-zero exit code when `discourse remap` is aborted (#12873)

David Taylor8b87cb07c374
diff --git a/script/discourse b/script/discourse
index 52eb3440f1e..fce25d81279 100755
--- a/script/discourse
+++ b/script/discourse
@@ -43,7 +43,7 @@ class DiscourseCLI < Thor
text = STDIN.gets
if text.strip != "YES"
puts "aborting."
- exit
+ exit 1
end
if options[:global]