summaryrefslogtreecommitdiff
path: root/localwebstats
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-09-11 20:33:10 +0000
committerJonas Smedegaard <dr@jones.dk>2002-09-11 20:33:10 +0000
commit4b773d4d101175d3eed16898deb3f839a5f21f3e (patch)
treefd9ccec7c64b900f2b10498108ffcfb07003bd2a /localwebstats
parent39704ad208654d99e1b7d2149fdb3744002f762f (diff)
localwebstats works fine without config file: Lower from error to warning.
Diffstat (limited to 'localwebstats')
-rwxr-xr-xlocalwebstats4
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebstats b/localwebstats
index e9041c2..bec7cfa 100755
--- a/localwebstats
+++ b/localwebstats
@@ -3,7 +3,7 @@
# /usr/local/sbin/localwebstats
# Copyright 2001-2002 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localwebstats,v 1.19 2002-07-20 18:30:19 jonas Exp $
+# $Id: localwebstats,v 1.20 2002-09-11 20:33:10 jonas Exp $
#
# Webstats maintenance script
#
@@ -80,7 +80,7 @@ function post_update() { true; }
# The above can be overridden
LOCALCONFIG=/etc/local/webstats.conf
-. $LOCALCONFIG || exit1 "Unable to read local config file $LOCALCONFIG"
+. $LOCALCONFIG || echo "WARNING: Unable to read config file $LOCALCONFIG"
# variables and functions too boring to be configurable
JDRESOLVE_BIN="/usr/bin/jdresolve"