diff options
-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 21d1af0..caae926 100644 --- a/src/DumpGH.c +++ b/src/DumpGH.c @@ -514,7 +514,7 @@ static int Checkpoint (const cGH *GH, int called_from) /* delete the oldest dumpfile if checkpoint_keep_all isn't set and put the new filename into the ring buffer */ - if (checkpoint_keep > 0) + if (called_from == CP_EVOLUTION_DATA && checkpoint_keep > 0) { if (myGH->cp_filenames[myGH->cp_fileindex]) { |