mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
config check: be more precise about what we check
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
73ff89f897
commit
aca61daecd
1 changed files with 2 additions and 2 deletions
|
@ -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':
|
||||||
|
|
Loading…
Reference in a new issue