Added info on possible causes of error for openvpn check

This commit is contained in:
Jérémy Dubois 2021-05-25 15:19:06 +02:00
parent a0f8339705
commit f8a9a86bdd

View file

@ -16,7 +16,7 @@ CA_ECHO=""
error() { error() {
if [ $? -eq 2 ] && [ "X$CERT_ECHO" = "X" ] && [ "X$CA_ECHO" = "X" ] ; then if [ $? -eq 2 ] && [ "X$CERT_ECHO" = "X" ] && [ "X$CA_ECHO" = "X" ] ; then
echo "CRITICAL - The check exited with an error. Is the conf_file var containing the real conf file location ?" echo "CRITICAL - The check exited with an error. Is the conf_file var containing the real conf file location ? On Debian, is the check executed with sudo ?"
fi fi
} }