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 6289c7c..2bc1641 100644
--- a/src/Write.c
+++ b/src/Write.c
@@ -329,7 +329,7 @@ static IEEEfile_t *OpenFile (const cGH *GH, int vindex, const char *alias,
{
if (myproc == ioUtilGH->ioproc)
{
- if (ioUtilGH->recovered)
+ if (! IO_TruncateOutputFiles (GH))
{
file->iofile = IEEEopen (file->filename, "a");
*is_new_file = ! IOisValid (file->iofile);