lttctl ok in daemon mode with previously created xml descriptions
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 8 Sep 2005 15:07:37 +0000 (15:07 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 8 Sep 2005 15:07:37 +0000 (15:07 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1165 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttctl/lttctl.c

index eeb4fa59d8013235710e981965e7855732b619d1..f56faa421ae6e517214770d96d5fce220aa3b75a 100644 (file)
@@ -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);
   
This page took 0.024663 seconds and 4 git commands to generate.