Skip to content

Commit 09d3b27

Browse files
committed
Revert "Fix in the creation of subdirectory (#8706)"
This reverts commit b7d70a4.
1 parent 7d27715 commit 09d3b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/CTP/simulation/src/digi2raw.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void digi2raw(const std::string& inpName, const std::string& outDir, int verbosi
109109
}
110110
// if needed, create output directory
111111
if (!std::filesystem::exists(outDirName)) {
112-
if (std::filesystem::create_directories(outDirName)) {
112+
if (!std::filesystem::create_directories(outDirName)) {
113113
LOG(fatal) << "could not create output directory " << outDirName;
114114
} else {
115115
LOG(info) << "created output directory " << outDirName;

0 commit comments

Comments
 (0)