From: Mike Baker Date: Tue, 3 Apr 2007 15:55:42 +0000 (+0000) Subject: bug #1547 X-Git-Tag: kamikaze_7.06~293 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7bdbd73b2a6794ed62ace6cb89070168ae8fd19a;p=openwrt%2Fsvn-archive%2Fopenwrt.git bug #1547 SVN-Revision: 6851 --- diff --git a/include/shell.sh b/include/shell.sh index db41003262..f6be6c526f 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 "$@" }