Some bugfixes.

This commit is contained in:
2021-07-01 18:49:49 +00:00
parent 4faddd10b8
commit 58ec63c882
4 changed files with 29 additions and 21 deletions

View File

@@ -178,8 +178,9 @@ do
parent="/"$(echo $dir|cut -d / -f2)
if [[ "${parent}" == "${CERT_DIR}" && "${op}" == "CREATE,CLOSE_WRITE,CLOSE" && "${file}" == "new_certificate" ]]; then
if [[ "${parent}" == "${CERT_DIR}" && "${op}" == "CREATE,CLOSE_WRITE,CLOSE" ]]; then
DOMAIN=$(echo $dir|cut -d / -f3);
echo "file: "$file;
echo "New cert created: '$DOMAIN'";
#check_proxy_state;