aboutsummaryrefslogtreecommitdiff
path: root/src/Write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Write.c')
-rw-r--r--src/Write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Write.c b/src/Write.c
index 1a69cf9..d2f393e 100644
--- a/src/Write.c
+++ b/src/Write.c
@@ -333,7 +333,7 @@ static char *IOHDF5_GetFilename (const cGH *GH,
{
if (myproc == ioUtilGH->ioproc)
{
- if (ioUtilGH->recovered)
+ if (! IO_TruncateOutputFiles (GH))
{
H5E_BEGIN_TRY
{