Bugfix: IP address now logged in all circumstances.

This commit is contained in:
Asif Bacchus 2018-09-14 00:21:42 -06:00
parent 90e50bf74b
commit e2b7b5976d

View File

@ -239,10 +239,9 @@ 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