diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-25 14:35:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-25 14:35:49 -0200 |
commit | 5c1450e7e821a540dd02ea1a5bc872770f238636 (patch) | |
tree | 92abf44d3fb59416f4414c402ec98653da12a4b5 | |
parent | f231fd9b62097dd44a7f08ea618dbc00e11b2f30 (diff) | |
download | puppet-nodo-5c1450e7e821a540dd02ea1a5bc872770f238636.tar.gz puppet-nodo-5c1450e7e821a540dd02ea1a5bc872770f238636.tar.bz2 |
Minor change
-rwxr-xr-x | files/bin/domain-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/bin/domain-check b/files/bin/domain-check index 869a438..a8c2893 100755 --- a/files/bin/domain-check +++ b/files/bin/domain-check @@ -330,7 +330,7 @@ check_domain_status() if [ "${TLDTYPE}" == "br" ]; # for .br domain then # Convert the date to seconds - DOMAINJULIAN=`date -d ${DOMAINDATE} "+%-m %-d %-Y"` + DOMAINJULIAN=`$DATE -d ${DOMAINDATE} "+%-m %-d %-Y"` DOMAINJULIAN=`date2julian ${DOMAINJULIAN}` else # Whois data should be in the following format: "13-feb-2006" @@ -349,7 +349,7 @@ check_domain_status() if [ "${TLDTYPE}" == "br" ]; # for .br domain then # Fix domain date for displaying - DOMAINDATE=`date -d ${DOMAINDATE} +"%m-%b-%Y"` + DOMAINDATE=`$DATE -d ${DOMAINDATE} +"%m-%b-%Y"` fi if [ ${DOMAINDIFF} -lt 0 ] |