bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: -K passed to a method call


From: Christian Pearce
Subject: Patch: -K passed to a method call
Date: Wed, 23 Mar 2005 12:34:50 -0500

If I pass -K when running cfagent it should in turn pass this to the
cfagent call to execute the module.  At least this is how I see it.
here is a patch to fix it.

--- methods.c.orig      2005-03-09 14:41:43.000000000 -0500
+++ methods.c   2005-03-23 12:30:54.892255784 -0500
@@ -274,6 +274,11 @@
    strcat(options,"-I ");
    }
 
+if (IGNORELOCK)
+   {
+   strcat(options,"-K ");
+   }
+
 if (VERBOSE)
    {
    strcat(options,"-v ");

-- 
Christian Pearce
http://www.sysnav.com
http://www.commnav.com
http://www.perfectorder.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]