diff options
author | tradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d> | 2005-11-16 13:49:02 +0000 |
---|---|---|
committer | tradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d> | 2005-11-16 13:49:02 +0000 |
commit | 8dfb67180f171eb85522aca444c26334287987a2 (patch) | |
tree | 0f45976fc70fe781fb61c3a1193857d16e102deb /src/DumpGH.c | |
parent | 01bdf3aa27e2aa63f85d79ffab8f58643759ba33 (diff) |
Don't remove an initial data checkpoint file if IO::checkpoint_keep is set to
a value larger 0.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@225 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src/DumpGH.c')
-rw-r--r-- | src/DumpGH.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DumpGH.c b/src/DumpGH.c index bc673c3..e844592 100644 --- a/src/DumpGH.c +++ b/src/DumpGH.c @@ -321,7 +321,7 @@ static int Checkpoint (const cGH *GH, int called_from) tempname, filename); retval = -1; } - else + else if (called_from == CP_EVOLUTION_DATA) { if (checkpoint_keep > 0) { |