This should allow ssl to work

master
Keith Irwin 2022-09-10 16:42:02 -06:00
parent 576240cb8a
commit 964cfebb30
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ fi; if ! [ -f "${CONFIG_FILE}" ]; then
exit 4
fi
source "${CONFIG_FILE}"
hostname="${1}"
username="${2}"
if ! sudo rm -rf "${SSL_CONFIG_DIR:?}/${username:?}/${hostname:?}/" 2>/dev/null; then
printf 'ERROR! %s failed to delete %s!\n' "${0}" "${SSL_CONFIG_DIR}/${username}/${hostname}/" >>"${LOGFILE}"