Skip to content

Commit

Permalink
bootstrap.ml: ignore errors when trying to remove generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendoligez committed Feb 2, 2022
1 parent 184612d commit d7f2172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let () =
String.length fn >= String.length duneboot
&& String.sub fn ~pos:0 ~len:(String.length duneboot) = duneboot
then
Sys.remove fn))
try Sys.remove fn with Sys_error _ -> ()))

let runf fmt =
ksprintf
Expand Down

0 comments on commit d7f2172

Please sign in to comment.