From c8f6edfe04be00f0b62b01e4254e0de1e7f4bb89 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 17 Apr 2024 15:51:04 +0200 Subject: [PATCH] Update check-swap-space.ps1 --- scripts/check-swap-space.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-swap-space.ps1 b/scripts/check-swap-space.ps1 index 18f83f43..3dcc53ee 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -52,7 +52,7 @@ try { } elseif ($free -lt $minLevel) { Write-Output "⚠️ Swap space has only $(MB2String $free) of $(MB2String $total) free" } elseif ($used -lt 5) { - Write-Output "✅ Swap space has the full $(MB2String $free) free" + Write-Output "✅ Swap space has all $(MB2String $free) free" } else { [int64]$percent = ($used * 100) / $total Write-Output "✅ Swap space has $(MB2String $free) free ($percent% of $(MB2String $total) used)"