diff --git a/skyeye/scripts/weekly-scan.js b/skyeye/scripts/weekly-scan.js index 2a70aee6..e45e0954 100644 --- a/skyeye/scripts/weekly-scan.js +++ b/skyeye/scripts/weekly-scan.js @@ -61,7 +61,7 @@ function countGuards() { const guard = loadJSON(path.join(guardsDir, file)); if (guard) { if (guard.status === 'active') active++; - else if (guard.mode === 'suspended') suspended++; + else if (guard.status === 'suspended' || guard.mode === 'suspended') suspended++; } }