From da4e30cb1a2387a8727d150567e7eea90e1eb20f Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Wed, 24 Aug 2011 16:53:20 +0300 Subject: stats: Move stat files to respective service identifier directory --- src/main.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index dd67cb9e..283b10a6 100644 --- a/src/main.c +++ b/src/main.c @@ -293,12 +293,6 @@ int main(int argc, char *argv[]) perror("Failed to create storage directory"); } - if (mkdir(STORAGEDIR "/stats", S_IRUSR | S_IWUSR | S_IXUSR | - S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) < 0) { - if (errno != EEXIST) - perror("Failed to create statistics directory"); - } - umask(0077); main_loop = g_main_loop_new(NULL, FALSE); -- cgit v1.2.3