Commit f7820358 authored by Alessio Netti's avatar Alessio Netti
Browse files

Minor changes

parent a974da19
...@@ -1966,7 +1966,7 @@ SCError SensorConfigImpl::findSensorCachePath(std::string &path) { ...@@ -1966,7 +1966,7 @@ SCError SensorConfigImpl::findSensorCachePath(std::string &path) {
// Cache dir exists but it is not writeable // Cache dir exists but it is not writeable
if (access(path.c_str(), W_OK) != 0) { if (access(path.c_str(), W_OK) != 0) {
throw std::runtime_error("Cache directory is not writeable!"); throw std::domain_error("Cache directory is not writeable!");
} }
} catch(const std::domain_error& e) { } catch(const std::domain_error& e) {
path = "/tmp/"; path = "/tmp/";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment