summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-05 23:42:20 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-05 23:42:20 +0200
commitc916cdd8032b5419c4c41db6dd479ef171de31c3 (patch)
tree59acfe17f331de8d2c354c48f63eb750d8041c55 /src/tools
parentbdc00fbe25346d93d70772c2ef2c64dd805a5e3e (diff)
Prevent disk_writer from loading config.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_disk_writer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc
index a896cd181..eb5b7c27a 100644
--- a/src/tools/dcpomatic_disk_writer.cc
+++ b/src/tools/dcpomatic_disk_writer.cc
@@ -433,8 +433,7 @@ main ()
/* XXX: this is a hack, but I expect we'll need logs and I'm not sure if there's
* a better place to put them.
*/
- dcpomatic_log.reset(new FileLog(config_path() / "disk_writer.log"));
- dcpomatic_log->set_types (dcpomatic_log->types() | LogEntry::TYPE_DISK);
+ dcpomatic_log.reset(new FileLog(config_path() / "disk_writer.log", LogEntry::TYPE_DISK));
LOG_DISK_NC("dcpomatic_disk_writer started");
try {