diff options
-rwxr-xr-x | files/bin/domain-check | 9 | ||||
-rw-r--r-- | manifests/subsystems/domain.pp | 2 |
2 files changed, 8 insertions, 3 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} diff --git a/manifests/subsystems/domain.pp b/manifests/subsystems/domain.pp index eb3551f..337fd0e 100644 --- a/manifests/subsystems/domain.pp +++ b/manifests/subsystems/domain.pp @@ -27,7 +27,7 @@ class domain { } cron { "domain-check-${name}": - command => "$command >/dev/null 2>&1", + command => $command, user => root, hour => $hour, minute => $minute, |