From bd55296ce63a1f771bd747a14c1a79907a671938 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 8 Sep 2005 15:07:37 +0000 Subject: [PATCH] lttctl ok in daemon mode with previously created xml descriptions git-svn-id: http://ltt.polymtl.ca/svn@1165 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttctl/lttctl.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.34.1