diff --git a/src/files.ml b/src/files.ml index fd17bf5f0..c12ed6657 100644 --- a/src/files.ml +++ b/src/files.ml @@ -738,7 +738,7 @@ let copy setDirPropOnRoot rootTo (workingDir, pTo, initialDesc, desc')) >>= fun () -> Lwt.return (Update.ArchiveDir (desc, newChildren), - List.flatten pathl) + Safelist.flatten pathl) | Update.NoArchive -> assert false) (fun e ->