diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-09-07 14:53:19 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-09-07 14:53:19 +0200 |
commit | a92a55f2489820f030f461ebc09d621b001a01df (patch) | |
tree | bea8fe98f0809d856a243e8485535fe7ac993808 /src/irmd | |
parent | 8ec02f772f3530d5c9023bd1ccf74fea555c69ed (diff) | |
download | ouroboros-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')
-rw-r--r-- | src/irmd/main.c | 1 |
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) { |