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

View file

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