Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
dcdb
dcdb
Commits
f7820358
Commit
f7820358
authored
Dec 21, 2020
by
Alessio Netti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes
parent
a974da19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/src/sensorconfig.cpp
lib/src/sensorconfig.cpp
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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