summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/impressive-display6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/impressive-display b/bin/impressive-display
index f007811..a5250d0 100755
--- a/bin/impressive-display
+++ b/bin/impressive-display
@@ -90,10 +90,10 @@ if [ -r $HOME/.impressive-display/config ] && [ ! -d $HOME/.impressive-display/c
. $HOME/.impressive-display/config
fi
-if [ -z "$LOG_TO_SYSLOG" ]; then
- OUTPUT="echo"
-else
+if [ "x$LOG_TO_SYSLOG" = "xyes"]; then
OUTPUT="logger -t impressive-display"
+else
+ OUTPUT="echo"
fi
workdir="$HOME/.impressive-display"