From c24017dc9d35576c8615c70ea9f948cff22f7c99 Mon Sep 17 00:00:00 2001 From: PJ Date: Fri, 10 Dec 2021 17:10:26 +0100 Subject: [PATCH] Remove logging --- scripts/purge-nginx-blocklist.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/purge-nginx-blocklist.sh b/scripts/purge-nginx-blocklist.sh index 4f2b2ac8..228dae1a 100755 --- a/scripts/purge-nginx-blocklist.sh +++ b/scripts/purge-nginx-blocklist.sh @@ -53,7 +53,6 @@ purge_skylinks () { do echo ".. ⌁ Purging skylink ${skylink}" cached_files_command="find ${NGINX_CACHE_DIR} -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'" - echo $cached_files_command bash -c "${cached_files_command} | xargs -r rm" echo ".. ⌁ Skylink ${skylink} purged" @@ -110,9 +109,6 @@ fi # move the skylinks file to the queue under lock acquire_lock -echo "moving file from -> to" -echo $NGINX_PURGE_SKYLINKS_FILE -echo $NGINX_PURGE_SKYLINKS_QUEUED mv $NGINX_PURGE_SKYLINKS_FILE $NGINX_PURGE_SKYLINKS_QUEUED release_lock