summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-03-12 22:03:18 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-03-12 22:03:18 +0100
commit8ae2a7c43fb2ae4b6f01c57f35a526d5d32e3605 (patch)
tree3dc1725f04b872806f1f33d076666ba183a88b6f
parenta97a7ec396b082f8315a46bf57875c4088a9bbc8 (diff)
follow_progress fix
-rw-r--r--src/core/libs/lib-ui.sh4
1 files changed, 2 insertions, 2 deletions
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 $? ; }
}