Silence curl output in DuckDNS script
This commit is contained in:
parent
f95881f9b1
commit
2fbf9925fa
@ -11,7 +11,7 @@ token="{{ duckdns.token }}"
|
||||
url="https://www.duckdns.org/update?domains=$domains&token=$token&ip="
|
||||
|
||||
time=$(date '+%Y%m%d-%H%M%S')
|
||||
result=$(curl $url)
|
||||
result=$(curl --silent $url)
|
||||
|
||||
if [ "$result" = "OK" ]; then
|
||||
echo "[$time] OK" >> $log
|
||||
|
Loading…
Reference in New Issue
Block a user