summaryrefslogtreecommitdiff
path: root/src/daemons
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemons')
-rw-r--r--src/daemons/server-stats.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemons/server-stats.ts b/src/daemons/server-stats.ts
index bc1da5eef6..8dfa946250 100644
--- a/src/daemons/server-stats.ts
+++ b/src/daemons/server-stats.ts
@@ -75,5 +75,5 @@ async function net() {
// FS STAT
async function fs() {
const data = await si.disksIO().catch(() => ({ rIO_sec: 0, wIO_sec: 0 }));
- return data;
+ return data || { rIO_sec: 0, wIO_sec: 0 };
}