Use EXIT_SUCCESS/FAILURE instead of 0/1

This commit is contained in:
Orestis Floros
2020-01-16 09:21:27 +01:00
parent f7aee6b908
commit 0ed94fc788
10 changed files with 12 additions and 12 deletions

View File

@ -1582,7 +1582,7 @@ void cmd_layout_toggle(I3_CMD, const char *toggle_mode) {
*/
void cmd_exit(I3_CMD) {
LOG("Exiting due to user command.\n");
exit(0);
exit(EXIT_SUCCESS);
/* unreached */
}