projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cli: fix "permission denied" test after g_dir_open
[babeltrace.git]
/
src
/
cli
/
babeltrace2-cfg-src-auto-disc.c
diff --git
a/src/cli/babeltrace2-cfg-src-auto-disc.c
b/src/cli/babeltrace2-cfg-src-auto-disc.c
index 6dcb9e2c9b39194de84d2adb8235b89c0c4cc9b4..6b1b45635dca0fc813077cac11ca36c3258f83df 100644
(file)
--- a/
src/cli/babeltrace2-cfg-src-auto-disc.c
+++ b/
src/cli/babeltrace2-cfg-src-auto-disc.c
@@
-525,7
+525,7
@@
int auto_discover_source_for_input_as_dir_or_file_rec(GString *input,
const char *fmt = "Failed to open directory %s: %s";
BT_LOGW(fmt, input->str, error->message);
- if (err
no == E
ACCES) {
+ if (err
or->code == G_FILE_ERROR_
ACCES) {
/* This is not a fatal error, we just skip it. */
status = 1;
goto end;
This page took
0.023814 seconds
and
4
git commands to generate.