summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-05 23:03:02 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-05 23:03:02 +0100
commitcd2bb8486f1bf870e35c783568a652a7d2431e0a (patch)
tree338e2f8f9db0e143b54ce7a639715a63de5859b2 /src
parentbb1279c913a359dbf72b33cf67f3474896f24597 (diff)
ui bugfix empty strings
Diffstat (limited to 'src')
-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 679a182..26e7e5d 100644
--- a/src/core/libs/lib-ui.sh
+++ b/src/core/libs/lib-ui.sh
@@ -179,8 +179,8 @@ ask_password ()
ask_string ()
{
[ -z "$1" ] && die_error "ask_string needs a question!"
- [ "$var_UI_TYPE" = dia ] && { _dia_ask_string "$1" "$2" ; return $? ; }
- [ "$var_UI_TYPE" = cli ] && { _cli_ask_string "$1" "$2" ; return $? ; }
+ [ "$var_UI_TYPE" = dia ] && { _dia_ask_string "$1" "$2" "$3"; return $? ; }
+ [ "$var_UI_TYPE" = cli ] && { _cli_ask_string "$1" "$2" "$3"; return $? ; }
}