(main): Use EXIT_SUCCESS and EXIT_FAILURE, not 0 and 1.

This commit is contained in:
Paul Eggert committed 2004-07-30 08:00:40 +00:00
1 parent 35c0c98c7d
commit a586795939
1 file changed
+3 -3
+3 -3
View File
@@ -77,7 +77,7 @@ main (int argc, char **argv)
mode_t newmode;
struct mode_change *change;
const char *specified_mode;
int errors = 0;
int exit_status = EXIT_SUCCESS;
int optc;
initialize_main (&argc, &argv);
@@ -145,9 +145,9 @@ main (int argc, char **argv)
}
if (fail)
errors = 1;
exit_status = EXIT_FAILURE;
}
exit (errors);
exit (exit_status);
#endif
}