Bugfix: IP address now logged in all circumstances.
This commit is contained in:
parent
90e50bf74b
commit
e2b7b5976d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user