summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-03 15:55:42 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-03 15:55:42 +0000
commit9e6e9dbe211ccf9453354ffa9178814c0f549ba0 (patch)
tree58806fc6d1924845c4f396acc18fc7aa1ed44925
parent5e36436be9dab878de72c10f120440e8be46db38 (diff)
bug #1547
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6851 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/shell.sh2
1 files changed, 1 insertions, 1 deletions
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 "$@"
}