From 57ff055decb205ef18da1e5a9d6f21372cb9878d Mon Sep 17 00:00:00 2001 From: zedshaw Date: Tue, 28 Mar 2006 15:41:52 +0000 Subject: [PATCH] Reports a 1 exit status on errors. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@131 19e92222-5c0b-0410-8929-a290d50e31e9 --- bin/mongrel_rails | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mongrel_rails b/bin/mongrel_rails index 74d56be0..20784bba 100644 --- a/bin/mongrel_rails +++ b/bin/mongrel_rails @@ -184,7 +184,9 @@ end GemPlugin::Manager.instance.load "mongrel" => GemPlugin::INCLUDE, "rails" => GemPlugin::EXCLUDE -Mongrel::Command::Registry.instance.run ARGV +if not Mongrel::Command::Registry.instance.run ARGV + exit 1 +end