aboutsummaryrefslogtreecommitdiffstats
path: root/include/shell.sh
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
commit2ff4981c439b622d669e91ff46780b7e4197c48f (patch)
tree58806fc6d1924845c4f396acc18fc7aa1ed44925 /include/shell.sh
parent5e0a1aea7a9619668b2dd4921731df8f843a163a (diff)
downloadmaster-187ad058-2ff4981c439b622d669e91ff46780b7e4197c48f.tar.gz
master-187ad058-2ff4981c439b622d669e91ff46780b7e4197c48f.tar.bz2
master-187ad058-2ff4981c439b622d669e91ff46780b7e4197c48f.zip
bug #1547
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6851 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/shell.sh')
-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 "$@"
}