Fixed syntax error

master
Keith Irwin 2022-09-10 11:23:11 -06:00
parent 4a391bf4a3
commit 74afeb08b4
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 3 additions and 3 deletions

View File

@ -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}"