]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/binaries/probe/matitaRemove.ml
lambdadelta
[helm.git] / matita / components / binaries / probe / matitaRemove.ml
index 0ad0cd1d4b3fcc67fda75c2d1f101b138dad5394..87be455213258ebe0cc6d65f18b77ebe41eabb91 100644 (file)
@@ -23,8 +23,8 @@ let remove_dir dir =
       rmdir (F.dirname dir)
    in
    if Y.file_exists dir then begin
-      A.iter map (Y.readdir dir);
-      try rmdir dir with U.Unix_error _ -> ()
+      try A.iter map (Y.readdir dir); rmdir dir
+      with U.Unix_error _ -> ()
    end
 
 let objects () =