From 783fb41830127b3c9c2bcdfb6f7b9275648ad8a5 Mon Sep 17 00:00:00 2001 From: gyurix Date: Thu, 17 Aug 2023 11:48:41 +0000 Subject: [PATCH] Added exact pattern for excluding changes --- scripts/scheduler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scheduler.sh b/scripts/scheduler.sh index 3c141fa..e9a65cb 100755 --- a/scripts/scheduler.sh +++ b/scripts/scheduler.sh @@ -17,7 +17,7 @@ mkdir -p $CERT_DIR unset IFS -inotifywait --exclude \.(swp|tmp) -m -e CREATE,CLOSE_WRITE,DELETE,MOVED_TO -r $DOMAIN_DIR $CERT_DIR $PROXY_CONFIG_DIR | \ +inotifywait --exclude "\.(swp|tmp)" -m -e CREATE,CLOSE_WRITE,DELETE,MOVED_TO -r $DOMAIN_DIR $CERT_DIR $PROXY_CONFIG_DIR | \ while read dir op file do