1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2025-01-19 16:58:41 +01:00
This commit is contained in:
Rin 2022-07-17 15:18:56 +01:00
parent b9c756f442
commit 8dcc10452e

View File

@ -75,8 +75,8 @@ http.createServer(allnetApp).listen(PORT_ALLNET, '0.0.0.0', 511, () => {
let unix = Config.getConfig().unix;
if (unix && process.platform == 'linux') {
console.log('Downgrading permissions...');
process.setuid!(unix.setuid);
process.setgid!(unix.setgid);
process.setuid!(unix.setuid);
console.log('Done!');
}
})