diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-24 17:34:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-24 17:34:35 +0200 |
commit | 09785b5d5d46b39bf00173690165b1919387bc42 (patch) | |
tree | dda841eb3682d28492d4f99613e7ed14dc20b902 | |
parent | 80af611ace20670adf126c66b2f31da2e8b7c755 (diff) |
pkg: wrap: Don't set $wrapped, it's used nowhere
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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: " |