Misc fixes
This commit is contained in:
parent
dc63263d85
commit
d1ae06e7ef
2 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,7 @@ then
|
|||
if ! find "$cachefile" -mtime -7 &> /dev/null
|
||||
then
|
||||
mkdir -p "$cachedir"
|
||||
curl --silent "$url/?ip=$ip" > "$cachefile"
|
||||
curl --silent "$url?ip=$ip" > "$cachefile"
|
||||
fi
|
||||
cat "$cachefile" | jq $jq_sel
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue