summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2007-09-25 12:47:17 +0200
committerWilly Tarreau <w@1wt.eu>2007-09-25 12:47:17 +0200
commit0a70be8114881290958b8769aa5572e6341cedb9 (patch)
treeb690ac7117b65b401a666ba4ae13b5d14a2b2c35
parent* network: add support for bridge (diff)
downloadinit-scripts-0a70be8114881290958b8769aa5572e6341cedb9.tar.gz
* functions: do not report an error if an instance is not declared
-rwxr-xr-xsbin/init.d/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/init.d/functions b/sbin/init.d/functions
index bd847e3..b7fda85 100755
--- a/sbin/init.d/functions
+++ b/sbin/init.d/functions
@@ -858,13 +858,13 @@ function load_config {
fi
if [ "$SVC_FOUND" != 1 -a "$MUST_LIST_SECTIONS" != 1 ]; then
- echo "Service/instance not found in $CONFIG, using default values."
+ echo "Warning: service/instance not found in $CONFIG, using default values."
service $PNAME ; service ""
#[ "x$G_FACILITY" != x ] && \
# logger -p $G_FACILITY.warn -t "flxi[$$].$PNAME" -- \
# "unknown[$USER]: $PNAME $ACTION ${SVC_INSTANCE[*]}"
- exit 1
+ #exit 1
fi
return $STATUS_RET
}