From 09785b5d5d46b39bf00173690165b1919387bc42 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 24 Apr 2009 17:34:35 +0200 Subject: pkg: wrap: Don't set $wrapped, it's used nowhere --- bin/pkg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/pkg b/bin/pkg index 6817a90..0c16330 100755 --- a/bin/pkg +++ b/bin/pkg @@ -642,13 +642,11 @@ function wrap { typeset arg=$2 typeset progress=$3 typeset i - typeset -i wrapped all current + typeset -i all current if [[ -n $2 ]] { - wrapped=0 $function $2 } else { - wrapped=1 function wrap_info { clear_line info "$1: " -- cgit v1.2.3