fix scripts/blocklist-skylink.sh
This commit is contained in:
parent
79bae26fcf
commit
0e43acd995
|
@ -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
|
||||||
|
|
Reference in New Issue