aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-04-03 15:55:42 +0000
committerMike Baker <mbm@openwrt.org>2007-04-03 15:55:42 +0000
commit7bdbd73b2a6794ed62ace6cb89070168ae8fd19a (patch)
treeba3ce47037944dacbfa6c91e4dccb3a6f38bb95b
parent3295536b028ce1fd6e529e1403590d9c3a219c4d (diff)
downloadupstream-7bdbd73b2a6794ed62ace6cb89070168ae8fd19a.tar.gz
upstream-7bdbd73b2a6794ed62ace6cb89070168ae8fd19a.tar.bz2
upstream-7bdbd73b2a6794ed62ace6cb89070168ae8fd19a.zip
bug #1547
SVN-Revision: 6851
-rw-r--r--include/shell.sh2
1 files changed, 1 insertions, 1 deletions
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 "$@"
}