From 8ae2a7c43fb2ae4b6f01c57f35a526d5d32e3605 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Thu, 12 Mar 2009 22:03:18 +0100 Subject: follow_progress fix --- src/core/libs/lib-ui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/libs') diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh index c438dc2..57c0383 100644 --- a/src/core/libs/lib-ui.sh +++ b/src/core/libs/lib-ui.sh @@ -267,8 +267,8 @@ follow_progress () { [ -z "$1" ] && die_error "follow_progress needs a title!" [ -z "$2" ] && die_error "follow_progress needs a logfile to follow!" - [ "$var_UI_TYPE" = dia ] && { _dia_follow_progress "$1" "$2" ; return $? ; } - [ "$var_UI_TYPE" = cli ] && { _cli_follow_progress "$1" "$2" ; return $? ; } + [ "$var_UI_TYPE" = dia ] && { _dia_follow_progress "$@" ; return $? ; } + [ "$var_UI_TYPE" = cli ] && { _cli_follow_progress "$@" ; return $? ; } } -- cgit v1.2.3-54-g00ecf