From: compudj Date: Thu, 8 Sep 2005 15:03:53 +0000 (+0000) Subject: lttd mkdir ok X-Git-Tag: 0.80~214 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b1e3e7c791a7927d978d14b0e20ae478a13c8610;p=ltt-control.git lttd mkdir ok git-svn-id: http://ltt.polymtl.ca/svn@1164 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttd/lttd.c b/ltt/branches/poly/lttd/lttd.c index 737822e..01f1dd6 100644 --- a/ltt/branches/poly/lttd/lttd.c +++ b/ltt/branches/poly/lttd/lttd.c @@ -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;