diff --git a/back/lib/ssl_peer_add b/back/lib/ssl_peer_add index 67b34ca..31329a3 100755 --- a/back/lib/ssl_peer_add +++ b/back/lib/ssl_peer_add @@ -19,15 +19,15 @@ fi if ! [ -f "${CONFIG_FILE}" ]; then printf 'ERROR! %s couldnt find %s\n' "${0}" "${*}" >>"${LOGFILE}" exit 4 -) +fi if ! [ -x '/usr/bin/openssl' ]; then printf 'ERROR! /usr/bin/openssl not found!\n' >>"${LOGFILE}" exit 5 -) +fi if ! [ -f '/etc/ssl/openssl.cnf' ]; then printf 'ERROR! /etc/ssl/openssl.cnf not found!\n' >>"${LOGFILE}" exit 5 -) +fi source "${CONFIG_FILE}" hostname="${1}"