Diff for /badi/public_scripts/awstats_update_all/awstats_update_all between versions 1.1 and 1.2

version 1.1, 2010/07/29 14:03:22 version 1.2, 2010/07/31 11:54:46
Line 26  if [ "$1" = "-q" ]; then Line 26  if [ "$1" = "-q" ]; then
 fi  fi
   
 function count_proc() {  function count_proc() {
         # count how many instances are already COUNT_PROC          # count how many instances are already running
         COUNT_PROC=$(ps -o command -u "$(id -u)" | egrep -cwe '^(/bin/sh|/usr/bin/perl)* *'"$AWSTATS_BIN")          COUNT_PROC=$(ps -o command -u "$(id -u)" | egrep -cwe '^(/bin/sh|/usr/bin/perl)* *'"$AWSTATS_BIN")
 }  }
   

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>