From c99f888b9333745173a1a93f4bee02e8345453ab Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 4 Apr 2010 15:04:19 +0200 Subject: logfiles have to be passed as string now --- src/core/libs/lib-ui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh index fcde53d..5fc5c48 100644 --- a/src/core/libs/lib-ui.sh +++ b/src/core/libs/lib-ui.sh @@ -8,11 +8,11 @@ ui_init () { cats=(MAIN PROCEDURE UI UI-INTERACTIVE FS MISC NETWORK PACMAN SOFTWARE) if [ "$LOG_TO_FILE" ]; then - logs=($LOG $LOGFILE) + logs="$LOG $LOGFILE" else logs=$LOG fi - libui-sh-init $var_UI_TYPE $RUNTIME_DIR "${logs[*]}" "${cats[*]}" + libui-sh-init ${var_UI_TYPE:-cli} "$RUNTIME_DIR" "$logs" "${cats[@]}" # get keymap/font (maybe configured by aif allready in another process or even in another shell) # otherwise, take default keymap and consolefont as configured in /etc/rc.conf. can be overridden -- cgit v1.2.3-54-g00ecf