[awesome] use EXIT_FAILURE as exit code on error

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-03 15:34:58 +02:00
parent f42f75468c
commit ab321f0c17
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ xerror(void *data __attribute__ ((unused)),
* \todo display more informations about the error (like the Xlib default error handler)
*/
if(e->error_code == BadImplementation)
exit(1);
exit(EXIT_FAILURE);
return 0;
}