last commit was a mistake, reverting code

This commit is contained in:
Matthew Saunders Brown 2025-02-28 15:41:04 -08:00
parent 3083dc6e29
commit f87b7a6f50

View File

@ -30,6 +30,9 @@ else
fi fi
fi fi
# Only Debian-exim commands do not require MySQL running, (almost) all others do:
if [[ "$USER" != "Debian-exim" ]]; then
# check that MYSQL_CONNECTION_INFO_FILE exists and is readable # check that MYSQL_CONNECTION_INFO_FILE exists and is readable
if [ ! -f "$MYSQL_CONNECTION_INFO_FILE" ]; then if [ ! -f "$MYSQL_CONNECTION_INFO_FILE" ]; then
echo "ERROR: MySQL connection info file ($MYSQL_CONNECTION_INFO_FILE) does not exist or is not readable." echo "ERROR: MySQL connection info file ($MYSQL_CONNECTION_INFO_FILE) does not exist or is not readable."
@ -50,6 +53,8 @@ then
exit 1 exit 1
fi fi
fi
# functions # functions
# crude but good enough domain name format validation # crude but good enough domain name format validation