aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst2
-rwxr-xr-xbin/porticron8
2 files changed, 7 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 61b71bd..b6b5e6f 100644
--- a/README.rst
+++ b/README.rst
@@ -3,7 +3,7 @@ porticron
=========
:Author: `Benedikt Böhm <bb@xnull.de>`_
-:Version: 0.5.1
+:Version: 0.5.2
:Web: http://bb.xnull.de/projects/porticron/
:Source: http://git.xnull.de/gitweb/?p=porticron.git (also on `github <http://github.com/hollow/porticron>`_)
:Download: http://bb.xnull.de/projects/porticron/dist/
diff --git a/bin/porticron b/bin/porticron
index 140277b..b65e41b 100755
--- a/bin/porticron
+++ b/bin/porticron
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set fileencoding=utf-8 ts=4 sw=4 noexpandtab
-PORTICRON_VERSION="0.5.1"
+PORTICRON_VERSION="0.5.2"
version() {
echo "porticron ${PORTICRON_VERSION}"
@@ -27,7 +27,11 @@ log() {
send_mail() {
if [[ ${NOMAIL} -eq 1 ]]; then
- cat
+ if [[ ${VERBOSE} -eq 1 ]]; then
+ cat
+ else
+ cat > /dev/null
+ fi
else
${SENDMAIL:-/usr/sbin/sendmail} -t
fi