From 10916ac4c8a4b6c703f7da8b3c04f9f4f1fade04 Mon Sep 17 00:00:00 2001 From: limonatasuyu <86758668+limonatasuyu@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:36:01 +0300 Subject: [PATCH] Fixed syntax error. --- shellsocked | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shellsocked b/shellsocked index a466681..b08f1c8 100755 --- a/shellsocked +++ b/shellsocked @@ -13,7 +13,7 @@ scrape_url() { echo -e "Found \033[32m${count}\033[0m proxies on \033[33m${url}\033[0m" } -if [ -n "$1" ] +if [ -n "$1" ]; then PROXIES="" if [ -f "$1" ]; then while IFS= read -r url; do @@ -31,4 +31,4 @@ PROXIES=$(printf "%s\n" "$PROXIES" | sort -u) printf "%s\n" "$PROXIES" > proxies.txt total_count=$(echo "$PROXIES" | wc -l) -echo "Grand Total: ${total_count} proxies" \ No newline at end of file +echo "Grand Total: ${total_count} proxies"