From 2e95cec19535cec1a8b182a873f0ee2fc99c2ec4 Mon Sep 17 00:00:00 2001 From: belliash Date: Wed, 4 Jan 2012 14:22:34 +0100 Subject: [PATCH] suppress all errors --- libraries/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common b/libraries/common index 5e59ba8..2cd25f5 100644 --- a/libraries/common +++ b/libraries/common @@ -150,7 +150,7 @@ function logMessage() { if [ -z ${TYPE} ]; then TYPE=" - " fi - echo -e "[${DATE}][${TYPE}] ${MESSAGE}" >> ${LOGFILE} + { echo -e "[${DATE}][${TYPE}] ${MESSAGE}" >> ${LOGFILE}; } 2> /dev/null fi }