Switch to unified view
a/src/ohproduct.cxx | b/src/ohproduct.cxx | ||
---|---|---|---|
... |
... |
||
384 | { |
384 | { |
385 | if (!g_config) |
385 | if (!g_config) |
386 | return; |
386 | return; |
387 | 387 | ||
388 | { |
388 | { |
389 | PTMutexLocker conflock(g_configlock); |
389 | std::unique_lock<std::mutex>(g_configlock); |
390 | g_config->get("ohsrc_scripts_dir", scripts_dir); |
390 | g_config->get("ohsrc_scripts_dir", scripts_dir); |
391 | } |
391 | } |
392 | 392 | ||
393 | DIR *dirp = opendir(scripts_dir.c_str()); |
393 | DIR *dirp = opendir(scripts_dir.c_str()); |
394 | if (dirp == 0) { |
394 | if (dirp == 0) { |