Fixed check-swap-space.ps1

This commit is contained in:
Markus Fleschutz 2025-01-23 12:14:17 +01:00
parent 2c4400f327
commit 712dca92db

View File

@ -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 {