From 593a88c8ca5a1b1b89e14492a9b857e25ed25357 Mon Sep 17 00:00:00 2001 From: PJ Date: Fri, 10 Dec 2021 17:04:26 +0100 Subject: [PATCH] Update command --- scripts/purge-nginx-blocklist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/purge-nginx-blocklist.sh b/scripts/purge-nginx-blocklist.sh index d095bfdb..b709fc99 100755 --- a/scripts/purge-nginx-blocklist.sh +++ b/scripts/purge-nginx-blocklist.sh @@ -54,7 +54,7 @@ purge_skylinks () { echo ".. ⌁ Purging skylink ${skylink}" cached_files_command="find ${NGINX_CACHE_DIR} -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'" echo $cached_files_command - docker exec -it nginx bash -c "${cached_files_command} | xargs -r rm" + bash -c "${cached_files_command} | xargs -r rm" echo ".. ⌁ Skylink ${skylink} purged" echo "--------------------------------------------"