summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-02-28 13:40:56 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-02-28 13:40:56 (GMT)
commitec26e51078f8dd717c95688993c7947a808017c5 (patch)
tree30e215bcf4aeb109c7de80d6ae08ea53366968d1
parentc5170c77aab259b1060f713ea04dbda0386f90d4 (diff)
downloadhdf5-ec26e51078f8dd717c95688993c7947a808017c5.zip
hdf5-ec26e51078f8dd717c95688993c7947a808017c5.tar.gz
hdf5-ec26e51078f8dd717c95688993c7947a808017c5.tar.bz2
[svn-r24748] fail if port.cfg is not found.
-rw-r--r--src/H5VLiod_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5VLiod_server.c b/src/H5VLiod_server.c
index 3ed9a42..c9e04e0 100644
--- a/src/H5VLiod_server.c
+++ b/src/H5VLiod_server.c
@@ -255,6 +255,10 @@ EFF_start_server(MPI_Comm comm, MPI_Info UNUSED info)
}
fclose(config);
}
+ else {
+ fprintf(stderr, "could not open port.cfg file.\n");
+ return FAIL;
+ }
}
iod_comm = comm;