summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/libs/lib-ui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh
index 5dc6e3d..9c52112 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 -eq 1 ]; then
+ if [ "$LOG_TO_FILE" = '1' ]; then
logs="$LOG $LOGFILE"
else
logs=$LOG