diff options
Diffstat (limited to 'localwebresolve')
-rwxr-xr-x | localwebresolve | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebresolve b/localwebresolve index d2859ca..423e5e4 100755 --- a/localwebresolve +++ b/localwebresolve @@ -3,7 +3,7 @@ # /usr/local/sbin/localwebresolve # Copyright 2002 Jonas Smedegaard <dr@jones.dk> # -# $Id: localwebresolve,v 1.9 2004-05-11 11:28:31 jonas Exp $ +# $Id: localwebresolve,v 1.10 2004-05-11 11:51:06 jonas Exp $ # # Webstats maintenance script # @@ -62,7 +62,7 @@ LOGRESOLVE_BIN="/usr/sbin/logresolve" test -d $WEBROOT || exit1 "Webroot \"$WEBROOT\" doesn't exist" test -d $LOGROOT || exit1 "Logroot \"$LOGROOT\" doesn't exist" if [ -x "$JDRESOLVE_BIN" -a -n "$JDRESOLVE_DB" ]; then - JDRESOLVE_OPTIONS="$JDRESOLVE_OPTIONS --database=$JDRESOLVE_DB" + JDRESOLVE_OPTIONS="$JDRESOLVE_OPTIONS --database=$JDRESOLVE_DB --dbfirst" test -d $(dirname "$JDRESOLVE_DB") || exit1 "Cache dir for jdresolve doesn't exist" if [ -n "$JDRESOLVE_EXPIRY" ]; then if [ $DEBUG ]; then |