From: compudj Date: Thu, 8 Sep 2005 15:07:37 +0000 (+0000) Subject: lttctl ok in daemon mode with previously created xml descriptions X-Git-Tag: v0.12.20~2324 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=bd55296ce63a1f771bd747a14c1a79907a671938;p=lttv.git lttctl ok in daemon mode with previously created xml descriptions git-svn-id: http://ltt.polymtl.ca/svn@1165 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttctl/lttctl.c b/ltt/branches/poly/lttctl/lttctl.c index eeb4fa59..f56faa42 100644 --- a/ltt/branches/poly/lttctl/lttctl.c +++ b/ltt/branches/poly/lttctl/lttctl.c @@ -268,6 +268,7 @@ int create_eventdefs(void) printf("trace_root is %s\n", trace_root); goto error; } + ret = 0; size_t trace_root_len = strlen(trace_root); strncpy(eventdefs_path, trace_root, PATH_MAX); @@ -278,6 +279,7 @@ int create_eventdefs(void) perror("Cannot create eventdefs directory"); goto error; } + ret = 0; DIR *facilities_dir = opendir(facilities_path);