summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 1f8a2ac..ec17d28 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -2257,7 +2257,8 @@ H5G_close(H5G_t *grp)
/* Check if this group was the last object holding open a mounted file
* hierarchy and close down the file hierarchy if so */
if(grp->shared->fo_count == 1)
- H5F_check_mounts(grp->ent.file);
+ if(H5F_check_mounts(grp->ent.file) < 0)
+ HGOTO_ERROR(H5E_SYM, H5E_MOUNT, FAIL, "problem checking mount hierarchy");
if(H5G_free_ent_name(&(grp->ent))<0)
{