diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-22 23:12:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-22 23:12:43 +0100 |
| commit | d6bec686c729218bcca64d64d9b2d178fcfd627f (patch) | |
| tree | 71a9c7dce5f6996eb19e2b4daa7c78e86115e2c1 | |
| parent | 8a71b3b000979dad22db706c9832ebbc3a7c53aa (diff) | |
Don't hide errors when trying to create config directories.
| -rw-r--r-- | src/lib/state.cc | 3 |
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; } |
