diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2002-03-18 10:44:41 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2002-03-18 10:44:41 +0000 |
commit | 18e5851fd29bf0a0e9bdd6f32fa0fdf5e4efe901 (patch) | |
tree | bedbd15c7be3e6a2ce2cb2623367b07f5335080f | |
parent | 6117ad9cc8057bdaa08240348e305e8bb58df1c8 (diff) |
Don't stop if 'IO::recover = "autoprobe"' and recovery directory doesn't exist.
This closes PR CactusPUGHIO/903.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@153 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-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 */ |