diff --git a/src/daemons/server-stats.ts b/src/daemons/server-stats.ts index bc1da5eef..8dfa94625 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 }; }