summaryrefslogtreecommitdiff
path: root/include
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 /include
parent3295536b028ce1fd6e529e1403590d9c3a219c4d (diff)
downloadmtk-20170518-7bdbd73b2a6794ed62ace6cb89070168ae8fd19a.zip
mtk-20170518-7bdbd73b2a6794ed62ace6cb89070168ae8fd19a.tar.gz
mtk-20170518-7bdbd73b2a6794ed62ace6cb89070168ae8fd19a.tar.bz2
bug #1547
SVN-Revision: 6851
Diffstat (limited to 'include')
-rw-r--r--include/shell.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shell.sh b/include/shell.sh
index db41003..f6be6c5 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 "$@"
}