summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@linux.intel.com>2011-08-24 16:53:20 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-09-12 11:40:47 +0200
commitda4e30cb1a2387a8727d150567e7eea90e1eb20f (patch)
treedaab9ea4a51736e741a789657e9dc80c1f139603 /src/main.c
parentd60b5edf7fd2ed4eb779e68a139359b4573385eb (diff)
downloadconnman-da4e30cb1a2387a8727d150567e7eea90e1eb20f.tar.gz
connman-da4e30cb1a2387a8727d150567e7eea90e1eb20f.tar.bz2
connman-da4e30cb1a2387a8727d150567e7eea90e1eb20f.zip
stats: Move stat files to respective service identifier directory
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 0 insertions, 6 deletions
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);