Use macros for exit values

This commit is contained in:
Christoph Gysin 2015-11-28 15:47:44 +02:00
parent 01617131f1
commit 3ba33321de
4 changed files with 8 additions and 8 deletions

View file

@ -29,7 +29,7 @@ void sway_terminate(void) {
}
list_free(surfaces);
registry_teardown(registry);
exit(1);
exit(EXIT_FAILURE);
}
int main(int argc, const char **argv) {