summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xctdb/config/functions6
1 files changed, 5 insertions, 1 deletions
diff --git a/ctdb/config/functions b/ctdb/config/functions
index 854060a664..610085b677 100755
--- a/ctdb/config/functions
+++ b/ctdb/config/functions
@@ -4,7 +4,7 @@ PATH=/bin:/usr/bin:/usr/sbin:/sbin:$PATH
#######################################
# pull in a system config file, if any
-loadconfig() {
+_loadconfig() {
if [ -z "$1" ] ; then
foo="${service_config:-${service_name}}"
@@ -25,6 +25,10 @@ loadconfig() {
fi
}
+loadconfig () {
+ _loadconfig "$@"
+}
+
##############################################################
# determine on what type of system (init style) we are running
detect_init_style() {