Downgrade the "unexpected EOF" message from ERROR to DEBUG.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@916 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
1e09705bd7
commit
82935b7d7a
|
@ -134,7 +134,7 @@ openpam_readword(FILE *f, int *lineno, size_t *lenp)
|
||||||
}
|
}
|
||||||
if (ch == EOF && (escape || quote)) {
|
if (ch == EOF && (escape || quote)) {
|
||||||
/* Missing escaped character or closing quote. */
|
/* Missing escaped character or closing quote. */
|
||||||
openpam_log(PAM_LOG_ERROR, "unexpected end of file");
|
openpam_log(PAM_LOG_DEBUG, "unexpected end of file");
|
||||||
free(word);
|
free(word);
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
|
Loading…
Reference in a new issue