Confirm overwrite of existing DCP when creating a new one.
[dcpomatic.git] / src / lib / writer.cc
index ccd6d74d1847aa3560a9fb1af04262942794fabb..595915883228021dd49f86ce920ea9aa4f9492c0 100644 (file)
@@ -79,9 +79,6 @@ Writer::Writer (shared_ptr<const Film> film, weak_ptr<Job> j)
        , _repeat_written (0)
        , _pushed_to_disk (0)
 {
-       /* Remove any old DCP */
-       boost::filesystem::remove_all (_film->dir (_film->dcp_name ()));
-
        shared_ptr<Job> job = _job.lock ();
        DCPOMATIC_ASSERT (job);