From a32225831ef5c1cdd96521fe244bbc8b470badf3 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 16 Aug 2014 22:44:57 -0400 Subject: util: fix map return status Simplify this while we're at it -- we don't care for the error count. --- util.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.inc.sh b/util.inc.sh index a9bb51e..c33cb63 100644 --- a/util.inc.sh +++ b/util.inc.sh @@ -22,7 +22,7 @@ log_info() { map() { local map_r=0 for _ in "${@:2}"; do - "$1" "$_" || (( $# > 255 ? map_r=1 : ++r )) + "$1" "$_" || map_r=1 done return $map_r } -- cgit v1.2.3-54-g00ecf