Move the helper function to higher level

This commit is contained in:
topjohnwu
2017-04-17 16:33:01 +08:00
parent c37a2e61ed
commit aefbc1c9bf
3 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ int su_daemon_main(int argc, char **argv) {
.database_path = APPLICATION_DATA_PATH REQUESTOR_DATABASE_PATH,
.base_path = APPLICATION_DATA_PATH REQUESTOR
},
.umask = umask(027),
.umask = umask(022),
};
su_ctx = &ctx;