aboutsummaryrefslogtreecommitdiff
path: root/files/bin
diff options
context:
space:
mode:
Diffstat (limited to 'files/bin')
-rwxr-xr-xfiles/bin/domain-check6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/bin/domain-check b/files/bin/domain-check
index ebefb6b..5abb30c 100755
--- a/files/bin/domain-check
+++ b/files/bin/domain-check
@@ -361,7 +361,7 @@ check_domain_status()
DOMAINDIFF=$(date_diff ${NOWJULIAN} ${DOMAINJULIAN})
else
# We have no information
- DOMAINDIFF="undef"
+ DOMAINDIFF="Unknown"
fi
if [ "${TLDTYPE}" == "br" ] && [ ! -z "${DOMAINDATE}" ]; # for .br domain
@@ -370,9 +370,9 @@ check_domain_status()
DOMAINDATE=`$DATE -d ${DOMAINDATE} +"%m-%b-%Y"`
fi
- if [ ${DOMAINDIFF} == 'undef' ];
+ if [ ${DOMAINDIFF} == 'Unknown' ];
then
- prints ${DOMAIN} "No info" "$?" "?" ${REGISTRAR}
+ prints ${DOMAIN} "Unknown" "Unknown" "Unknown" ${REGISTRAR}
elif [ ${DOMAINDIFF} -lt 0 ]
then
if [ "${ALARM}" = "TRUE" ]