From e2a98f1e50706339943247426280182bbb1ecbd3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 2 Nov 2022 21:57:42 +0100 Subject: [PATCH] Update check-swap-space.ps1 --- Scripts/check-swap-space.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/check-swap-space.ps1 b/Scripts/check-swap-space.ps1 index 65b4c8d3..aba408fc 100755 --- a/Scripts/check-swap-space.ps1 +++ b/Scripts/check-swap-space.ps1 @@ -36,6 +36,8 @@ try { "⚠️ No swap space!" } elseif ($Free -lt $MinLevel) { "⚠️ Swap space has only $Free GB of $Total GB left to use!" + } elseif ($Used -eq 0) { + "✅ Swap space of $Total GB is unused." } elseif ($Used -lt $Free) { "✅ Swap space uses $Used GB of $Total GB." } else {