Skip to content

Commit

Permalink
replace unnecessary use of cat
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Dec 19, 2023
1 parent 932008b commit 8128526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stopforumspam-update
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8128526

Please sign in to comment.