projects
/
lttngtop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3160c7a
)
fix: don't return an error if a directory does not contain a valid trace
author
Julien Desfossez
<jdesfossez@efficios.com>
Mon, 21 Oct 2013 03:31:45 +0000
(23:31 -0400)
committer
Julien Desfossez
<jdesfossez@efficios.com>
Mon, 21 Oct 2013 03:31:52 +0000
(23:31 -0400)
Reported-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/lttngtop.c
patch
|
blob
|
blame
|
history
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index 2800cfac124a208698f47396e89659e8342850d5..8cec6d52c1ffeb0765cc56eb93f914c374493d47 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-861,7
+861,6
@@
int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
metafd = openat(dirfd, "metadata", O_RDONLY);
if (metafd < 0) {
close(dirfd);
- ret = -1;
continue;
} else {
int trace_id;
This page took
0.02529 seconds
and
4
git commands to generate.