Greetings.

In files_editline.c around line 790,

   else
      {
      match_len = end_off - start_off;
      ExpandScalar(a.replace.replace_value,replace);
      }

   CfOut(cf_error,""," -> Verifying replacement of \"%s\" with
\"%s\"\n",pp->promiser,replace); <<<<<< -- HERE

   memset(line_buff,0,CF_BUFSIZE);
   sp = ip->name;

   while (*sp != '\0')


Shouldn't

 CfOut(cf_error,""," -> Verifying replacement of \"%s\" with
\"%s\"\n",pp->promiser,replace);

be

 CfOut(cf_verbose,""," -> Verifying replacement of \"%s\" with
\"%s\"\n",pp->promiser,replace);


cf-execd thinks it is an error and mails it.

Thanks!
_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to