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 {