[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:07:59 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit c11efd753412aff5a3872b20c97052dfe42e71a3
Author: Török Edvin <edwin at clamav.net>
Date:   Thu Oct 15 11:21:08 2009 +0300

    silence error from this command, it is meant to fail.

diff --git a/unit_tests/check_common.sh b/unit_tests/check_common.sh
index 17486ad..a4a552e 100644
--- a/unit_tests/check_common.sh
+++ b/unit_tests/check_common.sh
@@ -3,7 +3,7 @@
 # Solaris's /bin/sh is not a POSIX shell, and
 # it quits when cd fails, even if it is followed by a ||
 # So enable -e only on POSIX shells
-(cd /nonexistentdir || true) && set -e
+(cd /nonexistentdir 2>/dev/null || true) && set -e
 
 WRAPPER=${WRAPPER-}
 TOP=`pwd`/..

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list