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