scripts: Simplify script_log() to just look at CTDB_SYSLOG variable
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Oct 2013 00:57:28 +0000 (11:57 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:04 +0000 (14:34 +1100)
commit79e2029f9bc078126e865aa715100a3870c7604b
treefe586db5830e98dd9b46083704263b0174d3e99b
parente55f3a1577eff0182802b0341d865d961aeae1c7
scripts: Simplify script_log() to just look at CTDB_SYSLOG variable

The old logic was actually wrong.  If CTDB_LOGFILE is unset then a
default is used, not syslog.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/functions