Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
f7820358
Commit
f7820358
authored
Dec 21, 2020
by
Alessio Netti
Browse files
Minor changes
parent
a974da19
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/src/sensorconfig.cpp
View file @
f7820358
...
...
@@ -1966,7 +1966,7 @@ SCError SensorConfigImpl::findSensorCachePath(std::string &path) {
// Cache dir exists but it is not writeable
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
)
{
path
=
"/tmp/"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment