From 6b8fb0543b6b339b38a76369438e0cd27d5d1824 Mon Sep 17 00:00:00 2001 From: Dan <36902356+danc403@users.noreply.github.com> Date: Sun, 4 Mar 2018 22:38:55 -0600 Subject: [PATCH] Update dns_pdnsMysql.sh --- dnsapi/dns_pdnsMysql.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dnsapi/dns_pdnsMysql.sh b/dnsapi/dns_pdnsMysql.sh index df54d213..fba351fb 100644 --- a/dnsapi/dns_pdnsMysql.sh +++ b/dnsapi/dns_pdnsMysql.sh @@ -12,6 +12,10 @@ PDNS_Ttl=60 DEFAULT_PDNS_TTL=60 +if ! _exists mysql; then + _err "'mysql not found. It seems that mysql client is not installed.'" +fi + ######## Public functions ##################### #Usage: add _acme-challenge.www.domain.com "123456789ABCDEF0000000000000000000000000000000000000" #fulldomain