Compare commits
No commits in common. "e2b7b5976d35694965f74fea34a5c41921725fd9" and "24ade5322fa268e6b2aed6012911f1f320112e72" have entirely different histories.
e2b7b5976d
...
24ade5322f
|
@ -205,7 +205,7 @@ elif [ -z ${dnsRecords} ]; then
|
|||
fi
|
||||
|
||||
# Check if curl is installed
|
||||
command -v curl >> /dev/null
|
||||
command -v curl
|
||||
curlResult=$(echo "$?")
|
||||
if [ $curlResult -ne 0 ]; then
|
||||
quit 2
|
||||
|
@ -239,9 +239,10 @@ if [ -z "$ipAddress" ]; then
|
|||
if [ "$ipLookupResult" -ne 0 ]; then
|
||||
quit 201
|
||||
fi
|
||||
else
|
||||
echo -e "\e[1;36m[`date +%Y-%m-%d` `date +%H:%M:%S`] Using IP address:" \
|
||||
"$ipAddress" >> $logFile
|
||||
fi
|
||||
echo -e "\e[1;36m[`date +%Y-%m-%d` `date +%H:%M:%S`] Using IP address:" \
|
||||
"$ipAddress" >> $logFile
|
||||
|
||||
|
||||
## Check if desired record(s) exist at CloudFlare
|
||||
|
|
Loading…
Reference in New Issue