From a92a55f2489820f030f461ebc09d621b001a01df Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 7 Sep 2016 14:53:19 +0200 Subject: lib: Set umask for file creation permissions Permissions are now set correctly upon creation, removing the need to call fchmod. --- src/irmd/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/irmd') 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) { -- cgit v1.2.3