projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0de75
)
Fix error handling
author
David Goulet
<david.goulet@polymtl.ca>
Wed, 20 Jul 2011 20:40:41 +0000
(16:40 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Wed, 20 Jul 2011 20:40:41 +0000
(16:40 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/commands/create.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng/commands/create.c
b/lttng/commands/create.c
index 9fe82514097e9117ce662e4b6c2fa559fa1f4322..dbed8f021568f53c38b37432a078639f911fa77d 100644
(file)
--- a/
lttng/commands/create.c
+++ b/
lttng/commands/create.c
@@
-109,6
+109,9
@@
static int create_session()
/* Init lttng session config */
ret = config_init(session_name);
if (ret < 0) {
+ if (ret == -1) {
+ ret = CMD_ERROR;
+ }
goto error;
}
This page took
0.025754 seconds
and
4
git commands to generate.