2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-26 03:58:11 +00:00

Rsyslog 7 doesn't like c either

This commit is contained in:
Jarrod Johnson
2017-03-11 08:46:13 -05:00
parent 9498da1c5b
commit b53ab9ec82

View File

@@ -291,7 +291,7 @@ done
unset RSYSLOG_PID
RSYSLOGD_VERSION=`rsyslogd -v | awk '/rsyslogd/ { split($2, a, "."); print a[1]; }'`
if [ "$RSYSLOGD_VERSION" -ge 8 ]; then
if [ "$RSYSLOGD_VERSION" -ge 7 ]; then
/sbin/rsyslogd
else
/sbin/rsyslogd -c4