Fixed setcap in warning message.
Ylian Saint-Hilaire committed
Jun 23, 2020 at 14:10 UTC
c9f2006b812c0ff5445159aafc723834bae8d0ba
1 file changed
+1
-1
webserver.js
+1
-1
@@ -5146,7 +5146,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
5146
console.log('WARNING: MeshCentral is running without permissions to use ports below 1025.');
5147
console.log(' Use setcap to grant access to lower ports, or read installation guide.');
5148
console.log('');
5149
- console.log(' sudo setcap \'cap_net_bind_service= +ep\' `which node` \r\n');
5149
+ console.log(' sudo setcap \'cap_net_bind_service=+ep\' `which node` \r\n');
5150
obj.parent.addServerWarning('Server running without permissions to use ports below 1025.', false);
5151
}
5152
}