From f8a9a86bddb711b922b537b880d8cca2dcea0ef9 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Tue, 25 May 2021 15:19:06 +0200 Subject: [PATCH] Added info on possible causes of error for openvpn check --- roles/openvpn/files/check_openvpn_certificates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openvpn/files/check_openvpn_certificates.sh b/roles/openvpn/files/check_openvpn_certificates.sh index bfcd97b..05b1e7b 100755 --- a/roles/openvpn/files/check_openvpn_certificates.sh +++ b/roles/openvpn/files/check_openvpn_certificates.sh @@ -16,7 +16,7 @@ CA_ECHO="" error() { 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 }