From 964cfebb301516973c9e732c9078a21c6c74b4d8 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Sat, 10 Sep 2022 16:42:02 -0600 Subject: [PATCH] This should allow ssl to work --- back/lib/ssl_peer_del | 2 ++ 1 file changed, 2 insertions(+) diff --git a/back/lib/ssl_peer_del b/back/lib/ssl_peer_del index 88eec6a..b790357 100755 --- a/back/lib/ssl_peer_del +++ b/back/lib/ssl_peer_del @@ -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}"