mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-07 11:27:09 +00:00
parent
3295536b02
commit
7bdbd73b2a
@ -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 "$@"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user