Skip to content

Commit

Permalink
Merge pull request #75 from Jpereyra316/feature/better-parse-error
Browse files Browse the repository at this point in the history
Better parse error
  • Loading branch information
wolneykien authored Apr 19, 2024
2 parents b12a3eb + 9ab5f8f commit 6866efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pam_pkcs11/pam_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static void parse_config_file(void) {
}
ctx = configuration.ctx;
if ( scconf_parse(ctx) <=0 ) {
DBG1("Error parsing file %s",configuration.config_file);
DBG2("Error parsing file %s. Parse error: %s",configuration.config_file,ctx->errmsg);
return;
}
/* now parse options */
Expand Down

0 comments on commit 6866efd

Please sign in to comment.