diff options
Diffstat (limited to 'src/CheckpointRecovery.c')
-rw-r--r-- | src/CheckpointRecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CheckpointRecovery.c b/src/CheckpointRecovery.c index 7904d73..b592b47 100644 --- a/src/CheckpointRecovery.c +++ b/src/CheckpointRecovery.c @@ -544,7 +544,7 @@ int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH, { CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, "Recovery directory '%s' doesn't exist", recovery_dir); - return (-2); + return (CCTK_Equals (recover, "autoprobe") ? 0 : -2); } /* get the list of potential recovery files */ |