diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-12-26 10:12:49 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-12-26 10:12:49 (GMT) |
commit | ac5945b412d3f7d8453f46cdd3da6ec45f18c3df (patch) | |
tree | 73fdc388b42ddaf4a29dd26b5587228fd894aaf0 /tools/misc/h5repart.c | |
parent | f40a245ce239b9597efa815d70d1d9f005fbafdc (diff) | |
download | hdf5-ac5945b412d3f7d8453f46cdd3da6ec45f18c3df.zip hdf5-ac5945b412d3f7d8453f46cdd3da6ec45f18c3df.tar.gz hdf5-ac5945b412d3f7d8453f46cdd3da6ec45f18c3df.tar.bz2 |
[svn-r18057] Bug fix: 1192
Description:
Fixed exit code (sometimes return code in Main) to follow the HDF5 standards.
Tested:
Jam, both serial and parallel.
Diffstat (limited to 'tools/misc/h5repart.c')
-rw-r--r-- | tools/misc/h5repart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5repart.c b/tools/misc/h5repart.c index 2374059..d41dfc9 100644 --- a/tools/misc/h5repart.c +++ b/tools/misc/h5repart.c @@ -238,7 +238,7 @@ main (int argc, char *argv[]) } else if (!strcmp(argv[argno], "-V")) { printf("This is %s version %u.%u release %u\n", prog_name, H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE); - exit(0); + exit(EXIT_SUCCESS); } else if (!strcmp (argv[argno], "-family_to_sec2")) { family_to_sec2 = TRUE; argno++; |