trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan-Frode Myklebust <janfr...@tanso.net>
Subject [PATCH] Make condrestart do the right thing, not the opposite.
Date Tue, 19 Jul 2011 08:00:09 GMT
---
 rc/trafficserver.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rc/trafficserver.in b/rc/trafficserver.in
index 6582984..fc892eb 100644
--- a/rc/trafficserver.in
+++ b/rc/trafficserver.in
@@ -398,7 +398,7 @@ case "$1" in
   ;;
   condrestart)
     if [ "$DISTRIB_ID" = "fedora" -o "$DISTRIB_ID" = "redhat" ]; then
-      if ! $0 'status'
+      if $0 'status'
       then
         sh $0 'stop'
         sh $0 'start'
-- 
1.7.1


Mime
View raw message