Update log message

This commit is contained in:
Aya Morisawa 2018-07-13 23:05:37 +09:00
parent b984aecaf2
commit bd805f1d88

View File

@ -119,7 +119,7 @@ async function init(): Promise<Config> {
} }
configLogger.info('Successfully loaded'); configLogger.info('Successfully loaded');
configLogger.info(`maintainer: ${config.maintainer}`); configLogger.info(`Maintainer: ${config.maintainer.name}`);
if (process.platform === 'linux' && !isRoot() && config.port < 1024) { if (process.platform === 'linux' && !isRoot() && config.port < 1024) {
throw 'You need root privileges to listen on port below 1024 on Linux'; throw 'You need root privileges to listen on port below 1024 on Linux';