From 0e43acd9952c0ece54c8f47c432bd33c01f95aa9 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 7 Jun 2022 16:27:37 +0200 Subject: [PATCH] fix scripts/blocklist-skylink.sh --- scripts/blocklist-skylink.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/blocklist-skylink.sh b/scripts/blocklist-skylink.sh index cb60bbdb..14dc9dc7 100755 --- a/scripts/blocklist-skylink.sh +++ b/scripts/blocklist-skylink.sh @@ -28,8 +28,8 @@ if test -f "$1"; then else echo "Incorrect skylink at line ${line_number}: $line" && exit 1 fi - let line_number+=1 - done < $1; + (( line_number++ )) + done < "$1"; else skylinks=("$1") # just single skylink passed as input argument fi