Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 893b4547bb5f5eb61d2f3af4281e5a38 > files > 20

cman-2.0.115-96.el5_8.1.src.rpm

commit c4e83e3a01a31074800ba527c961f565247dd73f
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Tue Sep 20 17:07:00 2011 +0200

    cman init: fix FENCED_OPTS shell escaping
    
    Resolves: rhbz#739966
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

diff --git a/cman/init.d/cman b/cman/init.d/cman
index 2ed83a5..4727d22 100755
--- a/cman/init.d/cman
+++ b/cman/init.d/cman
@@ -166,7 +166,7 @@ start_daemons()
 
     status fenced &> /dev/null
     if [ $? -ne 0 ]; then
-	errmsg=$( /sbin/fenced "$FENCED_OPTS" 2>&1 ) || return 1
+	errmsg=$( /sbin/fenced $FENCED_OPTS 2>&1 ) || return 1
     fi
 
     status dlm_controld &> /dev/null