lttd mkdir ok
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 8 Sep 2005 15:03:53 +0000 (15:03 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 8 Sep 2005 15:03:53 +0000 (15:03 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1164 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttd/lttd.c

index 737822e168d533b0a9d5ad0b8434aa1648d036ec..01f1dd6dc262a7f5e9bdb6a6200ffefa0699a846 100644 (file)
@@ -209,9 +209,7 @@ int open_channel_trace_pairs(char *subchannel_name, char *subtrace_name,
        printf("Creating trace subdirectory %s\n", subtrace_name);
        ret = mkdir(subtrace_name, S_IRWXU|S_IRWXG|S_IRWXO);
        if(ret == -1) {
-               if(errno == EEXIST && append_mode) {
-                       printf("Appending to directory %s as resquested\n", subtrace_name);
-               } else {
+               if(errno != EEXIST) {
                        perror(subtrace_name);
       open_ret = -1;
                        goto end;
This page took 0.024259 seconds and 4 git commands to generate.