You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by la...@hyperreal.org on 1998/07/16 23:25:55 UTC

cvs commit: apache-1.3/src/support apachectl

lars        98/07/16 14:25:55

  Modified:    src/support apachectl
  Log:
  Fix 'status' output.
  Solaris' awk sucks. I think this is a more portable solution.
  (tested under Solaris, SunOS, Digital Unix and Linux)
  
  PR: 2613
  
  Revision  Changes    Path
  1.9       +1 -1      apache-1.3/src/support/apachectl
  
  Index: apachectl
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/apachectl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- apachectl	1998/06/25 19:14:44	1.8
  +++ apachectl	1998/07/16 21:25:54	1.9
  @@ -136,7 +136,7 @@
   	fi
   	;;
       status)
  -	$LYNX $STATUSURL | awk '  { if (/current process/) { print; exit } else print } '
  +	$LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
   	;;
       fullstatus)
   	$LYNX $STATUSURL