From 8b2fa4bde3da610980dd6c4e40f30a44c3b12a9f Mon Sep 17 00:00:00 2001 From: William Blanke Date: Sat, 21 Sep 2024 22:08:57 -0700 Subject: [PATCH] fix --- src/prover_slow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prover_slow.h b/src/prover_slow.h index 1d825cf2..b9b08bac 100644 --- a/src/prover_slow.h +++ b/src/prover_slow.h @@ -106,7 +106,7 @@ std::vector ProveSlow(integer& D, form& x, uint64_t num_iterations, std if ((num_iterations&0xffff)==0) { struct stat buffer; - if (stat (shutdown_file_path.c_str(), &buffer) == 0) + if ((shutdown_file_path!="") && (stat (shutdown_file_path.c_str(), &buffer) != 0)) return {}; } }