summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-09-07 14:53:19 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-09-07 14:53:19 +0200
commita92a55f2489820f030f461ebc09d621b001a01df (patch)
treebea8fe98f0809d856a243e8485535fe7ac993808 /src/irmd/main.c
parent8ec02f772f3530d5c9023bd1ccf74fea555c69ed (diff)
downloadouroboros-a92a55f2489820f030f461ebc09d621b001a01df.tar.gz
ouroboros-a92a55f2489820f030f461ebc09d621b001a01df.zip
lib: Set umask for file creation permissions
Permissions are now set correctly upon creation, removing the need to call fchmod.
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 8a05017a..cc9160bf 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2159,7 +2159,6 @@ int main(int argc, char ** argv)
}
}
-
if (!use_stdout &&
(log_dir = opendir(INSTALL_PREFIX LOG_DIR)) != NULL) {
while ((ent = readdir(log_dir)) != NULL) {