Skip to content

Commit

Permalink
Fixed check-swap-space.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
fleschutz committed Jan 23, 2025
1 parent 2c4400f commit 712dca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-swap-space.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 712dca9

Please sign in to comment.