From 712dca92db1708e4f5aba91ea959fcc044b86a18 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 23 Jan 2025 12:14:17 +0100 Subject: [PATCH] Fixed 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 e4f14dbe..64b72b58 100755 --- a/scripts/check-swap-space.ps1 +++ b/scripts/check-swap-space.ps1 @@ -32,7 +32,7 @@ try { if ($IsLinux) { $Result = $(free --mega | grep Swap:) - [int64]$total = $Result.subString(5,14) + [int64]$total = $Result.subString(5,15) [int64]$used = $Result.substring(20,13) [int64]$free = $Result.substring(32,11) } else {