summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-25 21:06:18 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-27 00:53:17 +0100
commitb8ae9112b429f9cd18afc208cbbda942bc62d0b7 (patch)
treec5678770826d0f8c56314a887e88a7913d8c29db
parentf93101c8305f169cd6e76a34c2411e520e623665 (diff)
Don't hide errors when trying to make configuration directories.
There should be no error if the directories already exist, and otherwise I think we want to know about the error.
-rw-r--r--src/lib/state.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/state.cc b/src/lib/state.cc
index f345d119e..e0d008810 100644
--- a/src/lib/state.cc
+++ b/src/lib/state.cc
@@ -79,8 +79,7 @@ boost::filesystem::path
State::write_path (string file)
{
auto p = config_path_or_override(config_versions.front());
- boost::system::error_code ec;
- dcp::filesystem::create_directories(p, ec);
+ dcp::filesystem::create_directories(p);
p /= file;
return p;
}