The cgrulesengd parameter to set different log file is --logfile,
not --log-file.

Signed-off-by: Jan Safranek <[email protected]>
---

 scripts/init.d/cgred.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/init.d/cgred.in b/scripts/init.d/cgred.in
index c05ddf0..784bddc 100644
--- a/scripts/init.d/cgred.in
+++ b/scripts/init.d/cgred.in
@@ -48,7 +48,7 @@ if [ -f "/etc/sysconfig/cgred.conf" ] ; then
        . /etc/sysconfig/cgred.conf
        OPTIONS="$NODAEMON $LOG"
        if [ -n "$LOG_FILE" ]; then
-               OPTIONS="$OPTIONS --log-file=$LOG_FILE"
+               OPTIONS="$OPTIONS --logfile=$LOG_FILE"
        fi
        if [ -n "$SOCKET_USER" ]; then
                OPTIONS="$OPTIONS -u $SOCKET_USER"


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to