Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Sep 22, 2024
1 parent 91417e1 commit 8b2fa4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prover_slow.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ std::vector<uint8_t> 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 {};
}
}
Expand Down

0 comments on commit 8b2fa4b

Please sign in to comment.