diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-21 15:50:18 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-21 15:50:18 +0100 |
commit | 5691c6a050090f1d8fa24f8c8b0c9379e0effec8 (patch) | |
tree | d0d5921f6e9f8010e092b0a674557c485ac6b23e | |
parent | 4585650db9169ee2534563cc1c6f16a1653d8358 (diff) | |
download | impressive-display-5691c6a050090f1d8fa24f8c8b0c9379e0effec8.tar.gz impressive-display-5691c6a050090f1d8fa24f8c8b0c9379e0effec8.tar.bz2 impressive-display-5691c6a050090f1d8fa24f8c8b0c9379e0effec8.zip |
LOG_TO_SYSLOG: Really expect "yes" with LOG_TO_SYSLOG env var.
-rwxr-xr-x | bin/impressive-display | 6 |
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" |