trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: [PATCH] Make condrestart do the right thing, not the opposite.
Date Tue, 19 Jul 2011 14:35:16 GMT
Is there a bug filed for this?

Leif

On Jul 19, 2011, at 2:00 AM, Jan-Frode Myklebust <janfrode@tanso.net> wrote:

> ---
> 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