aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorfrancis <francis>2008-06-02 08:10:32 +0000
committerfrancis <francis>2008-06-02 08:10:32 +0000
commitf8d73c349c4719536a50267f90af986a030fe8f4 (patch)
tree2ddcbdcb3cd07c8ec549becbd1b3b2bc7ce61d78 /script
parent6e40bf2f3728eda4f456a2dc8d3e5a1785528913 (diff)
Syntax error
Diffstat (limited to 'script')
-rwxr-xr-xscript/restart-mongrel1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/restart-mongrel b/script/restart-mongrel
index 300df12b9..e88ba1112 100755
--- a/script/restart-mongrel
+++ b/script/restart-mongrel
@@ -10,6 +10,7 @@ then
ruby -I/usr/lib/ruby/ /usr/bin/mongrel_rails stop
sleep 5s
if [ -e log/mongrel.pid ]
+ then
if ( ps h -p `cat log/mongrel.pid` )
then
echo "kill -9 ing `cat log/mongrel.pid` because it failed to stop"