cf3 verbose/error message about Verifying replacement
Matt Richards <[email protected]> Mon, 8 Jun 2009 14:10:04 -0400
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
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!