summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index af267ee..d88196c 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -59,6 +59,9 @@ int h5repack(char* infile,
if (options->verbose)
printf("Making file <%s>...\n",outfile);
+
+ if (copy_file(infile,outfile,options)<0)
+ return -1;
}