Skip to content

Commit 9e90851

Browse files
clementFoyerbgoglin
authored andcommitted
utils/archivemount: propagate error when visiting subdirs
Signed-off-by: Clément Foyer <[email protected]>
1 parent dd304b7 commit 9e90851

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/hwloc/misc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ hwloc_utils_enable_input_format(struct hwloc_topology *topology, unsigned long f
325325
err = hwloc_utils_enable_input_format(topology, flags, subdir, &sub_input_format, verbose, callname);
326326
if (!err)
327327
*input_format = sub_input_format;
328+
else
329+
return err;
328330
#else
329331
fprintf(stderr, "This installation of hwloc does not support loading from an archive, sorry.\n");
330332
exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)