diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-24 14:58:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-24 14:58:01 +0000 |
commit | 47f70113d4342682a6408f85337676f1ccb7e8fe (patch) | |
tree | e0a69d9a12ac5b336364cc0191f2390d5061fd50 /src/md5sum.c | |
parent | 2fa0c16e5e11ff23fb4e57246a21d9d0ef731caa (diff) | |
download | coreutils-47f70113d4342682a6408f85337676f1ccb7e8fe.tar.xz |
Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.
This doesn't change `error (1' calls.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r-- | src/md5sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index 07ad35488..b15dd90ac 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -118,7 +118,7 @@ a line with checksum, a character indicating type (`*' for binary, ` ' for\n\ text), and name for each FILE.\n"), program_name, program_name, program_name); - exit (status); + exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } /* FIXME: this format loses with filenames containing newline. */ |