summaryrefslogtreecommitdiff
path: root/util.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util.inc.sh')
-rw-r--r--util.inc.sh2
1 files changed, 1 insertions, 1 deletions
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
}