aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-27 15:28:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-27 15:28:02 -0200
commit3da70423df032dea134f1251dad0e73544ae36a1 (patch)
treef2efe0d6f521c568c2b52379c2e7e258cd4e7505 /files
parente5b8da6ed64544874829e70e181fe65cd628a6b6 (diff)
downloadpuppet-nodo-3da70423df032dea134f1251dad0e73544ae36a1.tar.gz
puppet-nodo-3da70423df032dea134f1251dad0e73544ae36a1.tar.bz2
Do not add extra line on quiet mode on domain-check
Diffstat (limited to 'files')
-rwxr-xr-xfiles/bin/domain-check9
1 files changed, 7 insertions, 2 deletions
diff --git a/files/bin/domain-check b/files/bin/domain-check
index a8c2893..dfdb27d 100755
--- a/files/bin/domain-check
+++ b/files/bin/domain-check
@@ -4,10 +4,13 @@
#
# Author: Matty < matty91 at gmail dot com >
#
-# Current Version: 1.9
+# Current Version: 1.10
#
# Revision History:
#
+# Version 1.10
+# Do not add extra line on quiet mode -- Silvio Rhatto <rhatto at riseup dot net>
+#
# Version 1.9
# Added support for .br domains -- Silvio Rhatto <rhatto at riseup dot net>
#
@@ -493,7 +496,9 @@ else
fi
# Add an extra newline
-echo
+if [ "${QUIET}" != "TRUE" ]; then
+ echo
+fi
### Remove the temporary files
rm -f ${WHOIS_TMP}