diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-30 08:00:40 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-30 08:00:40 +0000 |
commit | a586795939031beee910822a4ebfce93d42ff2cf (patch) | |
tree | 93a934e5bd3fed4c96d2e3c91d2a0f3defd3f81f | |
parent | 35c0c98c7d2b32174eac76452ed14b27448eb0e1 (diff) | |
download | coreutils-a586795939031beee910822a4ebfce93d42ff2cf.tar.xz |
(main): Use EXIT_SUCCESS and EXIT_FAILURE, not 0 and 1.
-rw-r--r-- | src/mkfifo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c index cc58f0843..91edb194d 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -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 } |