bug-cfengine
[Top][All Lists]
Advanced

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

Re: Patch: -K passed to a method call


From: Mark Burgess
Subject: Re: Patch: -K passed to a method call
Date: Wed, 23 Mar 2005 20:02:07 +0100
User-agent: Internet Messaging Program (IMP) 3.2.2

Quoting Christian Pearce <address@hidden>:

> 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
> 

Thanks - applied

M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




reply via email to

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