From 8128526c134f9e150ae110efd21375d3436ba139 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 19 Dec 2023 14:21:51 -0500 Subject: [PATCH] replace unnecessary use of cat --- stopforumspam-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stopforumspam-update b/stopforumspam-update index 22d7eb8..407b3e5 100755 --- a/stopforumspam-update +++ b/stopforumspam-update @@ -20,7 +20,7 @@ if [[ $mode == hourly ]]; then curl --fail-with-body https://www.stopforumspam.com/downloads/listed_ip_1.zip | gunzip | awk '{ print $1 " 1;" }' > stopforumspam-listed_ip_1_ipv46.conf.new mv stopforumspam-listed_ip_1_ipv46.conf.new stopforumspam-listed_ip_1_ipv46.conf - cat stopforumspam-listed_ip_30_ipv46.conf stopforumspam-listed_ip_1_ipv46.conf | sort -u > stopforumspam-listed_ip_merged_ipv46.conf + sort -u stopforumspam-listed_ip_30_ipv46.conf stopforumspam-listed_ip_1_ipv46.conf > stopforumspam-listed_ip_merged_ipv46.conf nginx -s reload fi