fix scripts/blocklist-skylink.sh

This commit is contained in:
Karol Wypchlo 2022-06-07 16:27:37 +02:00
parent 79bae26fcf
commit 0e43acd995
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ if test -f "$1"; then
else else
echo "Incorrect skylink at line ${line_number}: $line" && exit 1 echo "Incorrect skylink at line ${line_number}: $line" && exit 1
fi fi
let line_number+=1 (( line_number++ ))
done < $1; done < "$1";
else else
skylinks=("$1") # just single skylink passed as input argument skylinks=("$1") # just single skylink passed as input argument
fi fi