Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/load-configuration2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 7a6a4f3..c89e757 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 ${i_am_the_master}; then
+if pgrep -x mysqld >/dev/null 2>&1; then
mysql_retrieve_static_information
fi