[syslog-ng]Small fix for init.d.RedHat contrib file

Jacques THOMAS jacques.thomas@intexxia.com
Wed, 29 Aug 2001 11:29:59 +0200


Hi all,

The script init.d.RedHat from the contrib directory kept complaining:
   Starting syslog-ng: basename: too many arguments
   Try `basename --help' for more information.
when i used it to start syslog-ng.

This annoying behavior can be fixed by replacing the line:
   daemon "$INIT_PROG $INIT_OPTS"
by
   daemon --check $INIT_PROG "$INIT_PROG $INIT_OPTS"

I had this problem on a RedHat 7.0, and thought the solution might be
helpful for others.

Regards,

	Jacques THOMAS.