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

@@ -434,7 +434,7 @@ int main(int argc, char *argv[]) {
}
if (only_check_config) {
exit(load_configuration(override_configpath, C_VALIDATE) ? 0 : 1);
exit(load_configuration(override_configpath, C_VALIDATE) ? EXIT_SUCCESS : EXIT_FAILURE);
}
/* If the user passes more arguments, we act like i3-msg would: Just send