mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-31 01:33:39 -04:00
Fixed setcap in warning message.
This commit is contained in:
parent
63e2e03957
commit
a8a31da408
@ -5146,7 +5146,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||||||
console.log('WARNING: MeshCentral is running without permissions to use ports below 1025.');
|
console.log('WARNING: MeshCentral is running without permissions to use ports below 1025.');
|
||||||
console.log(' Use setcap to grant access to lower ports, or read installation guide.');
|
console.log(' Use setcap to grant access to lower ports, or read installation guide.');
|
||||||
console.log('');
|
console.log('');
|
||||||
console.log(' sudo setcap \'cap_net_bind_service= +ep\' `which node` \r\n');
|
console.log(' sudo setcap \'cap_net_bind_service=+ep\' `which node` \r\n');
|
||||||
obj.parent.addServerWarning('Server running without permissions to use ports below 1025.', false);
|
obj.parent.addServerWarning('Server running without permissions to use ports below 1025.', false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user