From 9e6e9dbe211ccf9453354ffa9178814c0f549ba0 Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 3 Apr 2007 15:55:42 +0000 Subject: bug #1547 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6851 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/shell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/shell.sh b/include/shell.sh index db4100326..f6be6c526 100644 --- a/include/shell.sh +++ b/include/shell.sh @@ -30,5 +30,5 @@ trapret() {( )} md5s() { - which md5sum 2>&- >&- && md5sum "$@" | awk '{print $1}' || md5 "$@" + which md5sum 2>&1 >/dev/null && md5sum "$@" | awk '{print $1}' || md5 "$@" } -- cgit v1.2.3