[ClusterLabs] Small bug in RA heartbeat/syslog-ng
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Mon Sep 21 07:01:07 UTC 2015
Hi!
Just a small notice: While having a look at the syslog-ng RA, I found this bug (in SLES11 SP3, resource-agents-3.9.5-0.37.38.19):
SYSLOG_NG_EXE="${OCF_RESKEY_syslog_ng_binary-/sbin/syslog-ng}" ### line 237 of /usr/lib/ocf/resource.d/heartbeat/syslog-ng
I tried it in BASH, but if {OCF_RESKEY_syslog_ng_binary is unset, the default won't be substituted. It's because the correct syntax is:
SYSLOG_NG_EXE="${OCF_RESKEY_syslog_ng_binary:-/sbin/syslog-ng}"
Regards,
Ulrich
More information about the Users
mailing list