config check: be more precise about what we check

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-17 20:45:53 +01:00
parent 73ff89f897
commit aca61daecd
1 changed files with 2 additions and 2 deletions

View File

@ -360,12 +360,12 @@ main(int argc, char **argv)
case 'k':
if(!luaA_parserc(confpath, false))
{
fprintf(stderr, "✘ Configuration file error.\n");
fprintf(stderr, "✘ Configuration file syntax error.\n");
return EXIT_FAILURE;
}
else
{
fprintf(stderr, "✔ Configuration file OK.\n");
fprintf(stderr, "✔ Configuration file syntax OK.\n");
return EXIT_SUCCESS;
}
case 'c':