summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index c89e757..7a6a4f3 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -108,7 +108,7 @@ if ! ${i_am_the_master} && \
fi
# load static values from the database
-if pgrep -x mysqld >/dev/null 2>&1; then
+if ${i_am_the_master}; then
mysql_retrieve_static_information
fi