diff options
Diffstat (limited to 'src/core/libs')
-rw-r--r-- | src/core/libs/lib-ui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh index 5fc5c48..9c4886f 100644 --- a/src/core/libs/lib-ui.sh +++ b/src/core/libs/lib-ui.sh @@ -7,7 +7,7 @@ source /usr/lib/libui.sh ui_init () { cats=(MAIN PROCEDURE UI UI-INTERACTIVE FS MISC NETWORK PACMAN SOFTWARE) - if [ "$LOG_TO_FILE" ]; then + if [ $LOG_TO_FILE -eq 1 ]; then logs="$LOG $LOGFILE" else logs=$LOG |