From 8151154ed9fa129d581db2c22fd2b5e0f08ed95d Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 14 Jul 2021 16:40:47 -0600 Subject: [PATCH] metrics script calls `.exit()` to skip waiting for socket --- metrics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/metrics.js b/metrics.js index 8be74c4..67d2ced 100644 --- a/metrics.js +++ b/metrics.js @@ -39,6 +39,7 @@ module.exports = () => { .blank(); Object.values(users).forEach(({ username, count, size }) => log.info(`- ${username}`, formatBytes(size), `${count} files`)); + process.exit(0); }) .catch(log.c.error); }